Share via


DatePickerFlyoutItem.GetIndexedProperty(String, TypeName) 方法

定義

藉由指定屬性名稱和索引集合的類型,擷取自訂屬性的 ICustomProperty 支持對象。

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

參數

name
String

Platform::String

winrt::hstring

自訂屬性的名稱。

type
TypeName Type

索引集合的類型,指定為 Visual C++ 元件延伸模組的 TypeName ( (C++/CX) ) 或 C#/VB) 的 System.Type (。

傳回

自訂屬性或 null傳回的支持對象。

實作

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)

適用於