1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using Windows.Foundation; 6 7 namespace System.Runtime.InteropServices.WindowsRuntime 8 { 9 [ComImport] 10 [Guid("4bd682dd-7554-40e9-9a9b-82654ede7e62")] 11 [WindowsRuntimeImport] 12 public interface IPropertyValue 13 { get_Type()14 PropertyType get_Type(); 15 16 bool IsNumericScalar 17 { 18 get; 19 } 20 GetUInt8()21 Byte GetUInt8(); GetInt16()22 Int16 GetInt16(); GetUInt16()23 UInt16 GetUInt16(); GetInt32()24 Int32 GetInt32(); GetUInt32()25 UInt32 GetUInt32(); GetInt64()26 Int64 GetInt64(); GetUInt64()27 UInt64 GetUInt64(); GetSingle()28 Single GetSingle(); GetDouble()29 Double GetDouble(); GetChar16()30 char GetChar16(); GetBoolean()31 Boolean GetBoolean(); GetString()32 String GetString(); GetGuid()33 Guid GetGuid(); GetDateTime()34 DateTimeOffset GetDateTime(); GetTimeSpan()35 TimeSpan GetTimeSpan(); GetPoint()36 Point GetPoint(); GetSize()37 Size GetSize(); GetRect()38 Rect GetRect(); GetUInt8Array(out byte[] array)39 void GetUInt8Array(out byte[] array); GetInt16Array(out Int16[] array)40 void GetInt16Array(out Int16[] array); GetUInt16Array(out UInt16[] array)41 void GetUInt16Array(out UInt16[] array); GetInt32Array(out Int32[] array)42 void GetInt32Array(out Int32[] array); GetUInt32Array(out UInt32[] array)43 void GetUInt32Array(out UInt32[] array); GetInt64Array(out Int64[] array)44 void GetInt64Array(out Int64[] array); GetUInt64Array(out UInt64[] array)45 void GetUInt64Array(out UInt64[] array); GetSingleArray(out Single[] array)46 void GetSingleArray(out Single[] array); GetDoubleArray(out Double[] array)47 void GetDoubleArray(out Double[] array); GetChar16Array(out char[] array)48 void GetChar16Array(out char[] array); GetBooleanArray(out Boolean[] array)49 void GetBooleanArray(out Boolean[] array); GetStringArray(out String[] array)50 void GetStringArray(out String[] array); GetInspectableArray(out object[] array)51 void GetInspectableArray(out object[] array); GetGuidArray(out Guid[] array)52 void GetGuidArray(out Guid[] array); GetDateTimeArray(out DateTimeOffset[] array)53 void GetDateTimeArray(out DateTimeOffset[] array); GetTimeSpanArray(out TimeSpan[] array)54 void GetTimeSpanArray(out TimeSpan[] array); GetPointArray(out Point[] array)55 void GetPointArray(out Point[] array); GetSizeArray(out Size[] array)56 void GetSizeArray(out Size[] array); GetRectArray(out Rect[] array)57 void GetRectArray(out Rect[] array); 58 } 59 } 60