Dela via


DatePickerFlyoutItem.GetIndexedProperty(String, TypeName) Method

Definition

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

public:
 virtual ICustomProperty ^ GetIndexedProperty(Platform::String ^ name, TypeName type) = GetIndexedProperty;
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 custom property.

type
TypeName Type

The type of the indexed collection, specified as a TypeName (for Visual C++ component extensions (C++/CX)) or System.Type (for C#/VB).

Returns

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

Implements

M:Windows.UI.Xaml.Data.ICustomPropertyProvider.GetIndexedProperty(System.String,Windows.UI.Xaml.Interop.TypeName) M:Windows.UI.Xaml.Data.ICustomPropertyProvider.GetIndexedProperty(System.String,System.Type) M:Windows.UI.Xaml.Data.ICustomPropertyProvider.GetIndexedProperty(Platform::String,Windows.UI.Xaml.Interop.TypeName) M:Windows.UI.Xaml.Data.ICustomPropertyProvider.GetIndexedProperty(winrt::hstring,Windows.UI.Xaml.Interop.TypeName)

Applies to