DynamicControl.GetAttribute(String) 方法

定義

使用指定的索引鍵,擷取屬性值。

public:
 virtual System::String ^ GetAttribute(System::String ^ key);
public string GetAttribute (string key);
abstract member GetAttribute : string -> string
override this.GetAttribute : string -> string
Public Function GetAttribute (key As String) As String

參數

key
String

屬性的名稱。

傳回

屬性的值。

實作

備註

如果屬性集合為 null ,這個方法會傳回空字串。

適用於

另請參閱