Nullable: System.Runtime.InteropServices.CustomMarshalers/WindowsRuntime (#23930)
[platform/upstream/coreclr.git] / src / System.Private.CoreLib / src / System / Runtime / InteropServices / WindowsRuntime / ICustomProperty.cs
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 #nullable enable
6 namespace System.Runtime.InteropServices.WindowsRuntime
7 {
8     [ComImport]
9     [Guid("30DA92C0-23E8-42A0-AE7C-734A0E5D2782")]
10     [WindowsRuntimeImport]
11     internal interface ICustomProperty
12     {
13         Type Type
14         {
15             get;
16         }
17
18         string Name
19         {
20             get;
21         }
22
23         object GetValue(object target);
24
25         void SetValue(object target, object value);
26
27         object GetValue(object target, object indexValue);
28
29         void SetValue(object target, object value, object indexValue);
30
31         bool CanWrite
32         {
33             get;
34         }
35
36         bool CanRead
37         {
38             get;
39         }
40     }
41 }
42