SerializationMessage.GetProperty(String) 方法

定义

获取由给定名称键控的属性的值。

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

参数

propertyName
String

要查找的属性的名称。

返回

Object

属性的值; 如果未找到,则为 null。

适用于