語言

Activity.GetCustomProperty(String) 方法

定義

回傳映射到指定屬性名稱的物件。

public:
 System::Object ^ GetCustomProperty(System::String ^ propertyName);
public object? GetCustomProperty(string propertyName);
member this.GetCustomProperty : string -> obj
Public Function GetCustomProperty (propertyName As String) As Object

參數

propertyName
String

與該物體相關的名稱。

傳回

如果找到物件,物件會映射到屬性名稱;否則,。 null

適用於