Share via


DatePickerFlyoutItem.GetIndexedProperty(String, TypeName) Método

Definición

Recupera el objeto de compatibilidad ICustomProperty de una propiedad personalizada especificando un nombre de propiedad y el tipo de la colección indizada.

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

Parámetros

name
String

Platform::String

winrt::hstring

Nombre de la propiedad personalizada.

type
TypeName Type

Tipo de la colección indizada, especificada como TypeName (para extensiones de componentes de Visual C++ (C++/CX)) o System.Type (para C#/VB).

Devoluciones

Objeto de compatibilidad devuelto para la propiedad personalizada o null.

Implementaciones

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)

Se aplica a