ICustomPropertyProvider
ICustomPropertyProvider
ICustomPropertyProvider
ICustomPropertyProvider
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// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
Type 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// This API is not available in Javascript.
- Value
- TypeName Type 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.
- See Also
Methods
GetCustomProperty(String) 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// This API is not available in Javascript.
- name
- PlatForm::String String String String
The name of the property to get the support object for.
The returned support object for the custom property, or nullptr.
GetIndexedProperty(String, TypeName) 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// This API is not available in Javascript.
- name
- PlatForm::String String String String
The name of the property to get the support object for.
The returned support object for the custom property, or nullptr.
- See Also
GetStringRepresentation() 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// This API is not available in Javascript.
The provided string.