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) ) 或 System.Type (c#/VB) 。

返回

返回的自定义属性的支持对象,或 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)

适用于