summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomProperty.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomProperty.cs')
-rw-r--r--src/mscorlib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomProperty.cs51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomProperty.cs b/src/mscorlib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomProperty.cs
new file mode 100644
index 0000000000..aa7ea5fdb2
--- /dev/null
+++ b/src/mscorlib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomProperty.cs
@@ -0,0 +1,51 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+//
+
+using System;
+using System.Diagnostics.Contracts;
+
+namespace System.Runtime.InteropServices.WindowsRuntime
+{
+ [ComImport]
+ [Guid("30DA92C0-23E8-42A0-AE7C-734A0E5D2782")]
+ [WindowsRuntimeImport]
+ internal interface ICustomProperty
+ {
+ Type Type
+ {
+ [Pure]
+ get;
+ }
+
+ string Name
+ {
+ [Pure]
+ get;
+ }
+
+ [Pure]
+ object GetValue(object target);
+
+ void SetValue(object target, object value);
+
+ [Pure]
+ object GetValue(object target, object indexValue);
+
+ void SetValue(object target, object value, object indexValue);
+
+ bool CanWrite
+ {
+ [Pure]
+ get;
+ }
+
+ bool CanRead
+ {
+ [Pure]
+ get;
+ }
+ }
+}
+