Activity.GetCustomProperty(String) 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回對應至所指定屬性名稱的物件。
public:
System::Object ^ GetCustomProperty(System::String ^ propertyName);
C#
public object? GetCustomProperty (string propertyName);
member this.GetCustomProperty : string -> obj
Public Function GetCustomProperty (propertyName As String) As Object
- propertyName
- String
與對象相關聯的名稱。
對應至屬性名稱的物件 (如果有找到的話);否則為 null
。
產品 | 版本 |
---|---|
.NET | 5, 6, 7, 8, 9 |