I​Custom​Property​Provider I​Custom​Property​Provider I​Custom​Property​Provider Interface

Definition

Provides lookup service for ICustomProperty support. This interface is implemented by objects so that their custom defined properties can be used as run-time binding sources.

public : interface ICustomPropertyProviderpublic interface ICustomPropertyProviderPublic Interface ICustomPropertyProvider
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Type Type Type

Gets the underlying type of the custom property.

public : TypeName Type { get; }public Type Type { get; }Public ReadOnly Property Type As Type
Value
TypeName Type Type

The underlying type, with relevant information as the values of the TypeName structure. TypeName provides the infrastructure such that property backing does not have to take a dependency on the common language runtime (CLR) and System.Type.

Attributes
See Also

Methods

GetCustomProperty(String) GetCustomProperty(String) GetCustomProperty(String)

Gets a custom property's ICustomProperty support object by specifying a property name.

public : ICustomProperty GetCustomProperty(PlatForm::String name)public ICustomProperty GetCustomProperty(String name)Public Function GetCustomProperty(name As String) As ICustomProperty
Parameters
name
PlatForm::String String String

The name of the property to get the support object for.

Returns

The returned support object for the custom property, or nullptr.

Attributes

GetIndexedProperty(String, TypeName) GetIndexedProperty(String, TypeName) GetIndexedProperty(String, TypeName)

Gets a custom property's ICustomProperty support object by specifying a property name and the type of the indexed collection.

public : ICustomProperty GetIndexedProperty(PlatForm::String name, TypeName type)public ICustomProperty GetIndexedProperty(String name, Type type)Public Function GetIndexedProperty(name As String, type As Type) As ICustomProperty
Parameters
name
PlatForm::String String String

The name of the property to get the support object for.

type
TypeName Type Type

The type of the indexed collection, specified as a TypeName wrapper.

Returns

The returned support object for the custom property, or nullptr.

Attributes
See Also

GetStringRepresentation() GetStringRepresentation() GetStringRepresentation()

Provides support for "GetStringFromObject" and/or "ToString" logic on the assumption that the implementation supports System.Object. This logic might be accessed by features or services such as generating UI Automation values based on data content.

public : PlatForm::String GetStringRepresentation()public string GetStringRepresentation()Public Function GetStringRepresentation() As string
Returns
PlatForm::String string string

The provided string.

Attributes

See Also