Share via


DatePickerFlyoutItem.GetIndexedProperty(String, TypeName) Méthode

Définition

Récupère l’objet de prise en charge ICustomProperty d’une propriété personnalisée en spécifiant un nom de propriété et le type de la collection indexée.

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

Paramètres

name
String

Platform::String

winrt::hstring

Nom de la propriété personnalisée.

type
TypeName Type

Type de la collection indexée, spécifié en tant que TypeName (pour les extensions de composant Visual C++ (C++/CX)) ou System.Type (pour C#/VB).

Retours

Objet de prise en charge retourné pour la propriété personnalisée, ou null.

Implémente

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)

S’applique à