ICustomPropertyProvider.GetCustomProperty(String) 方法

定義

藉由指定屬性名稱,取得自訂屬性的 ICustomProperty 支持對象。

public:
 ICustomProperty ^ GetCustomProperty(Platform::String ^ name);
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

要取得支持對象的屬性名稱。

傳回

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

適用於