Share via


DatePickerFlyoutItem.GetCustomProperty(String) 方法

定义

通过指定属性名称检索 ICustomProperty 对象。

public:
 virtual ICustomProperty ^ GetCustomProperty(Platform::String ^ name) = GetCustomProperty;
ICustomProperty GetCustomProperty(winrt::hstring const& name);
public ICustomProperty GetCustomProperty(string name);
function getCustomProperty(name)
Public Function GetCustomProperty (name As String) As ICustomProperty

参数

name
String

Platform::String

winrt::hstring

属性的名称。

返回

自定义属性支持对象。

实现

M:Windows.UI.Xaml.Data.ICustomPropertyProvider.GetCustomProperty(System.String) M:Windows.UI.Xaml.Data.ICustomPropertyProvider.GetCustomProperty(Platform::String) M:Windows.UI.Xaml.Data.ICustomPropertyProvider.GetCustomProperty(winrt::hstring)

适用于