Share via


ICustomPropertyProvider.GetIndexedProperty(String, TypeName) Method

Definition

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);
ICustomProperty GetIndexedProperty(winrt::hstring const& name, TypeName const& type);
public ICustomProperty GetIndexedProperty(string name, System.Type type);
function getIndexedProperty(name, type)
Public Function GetIndexedProperty (name As String, type As Type) As ICustomProperty

Parameters

name
String

Platform::String

winrt::hstring

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

type
TypeName Type

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

Returns

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

Applies to

See also