ICustomProperty Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements custom property definition support for data binding sources that are implemented using COM.
public interface class ICustomProperty
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(819630784, 9192, 17056, 174, 124, 115, 74, 14, 93, 39, 130)]
struct ICustomProperty
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(819630784, 9192, 17056, 174, 124, 115, 74, 14, 93, 39, 130)]
public interface ICustomProperty
Public Interface ICustomProperty
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Remarks
ICustomProperty represents a property on an instance of an object, but the calling patterns support the ability to implement the interface per owner type.
Properties
CanRead |
Gets a value that determines whether the custom property supports read access. |
CanWrite |
Gets a value that determines whether the custom property supports write access. |
Name |
Gets the path-relevant name of the property. |
Type |
Gets the underlying type of the custom property. |
Methods
GetIndexedValue(Object, Object) |
Gets the value at an index location, for cases where the custom property has indexer support. |
GetValue(Object) |
Gets the value of the custom property from a particular instance. |
SetIndexedValue(Object, Object, Object) |
Sets the value at an index location, for cases where the custom property has indexer support. |
SetValue(Object, Object) |
Sets the custom property value on a specified instance. |