共用方式為


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)

適用於