Activity.GetCustomProperty(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳映射到指定屬性名稱的物件。
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