语言

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.

适用于