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,此方法回傳空字串。

適用於

另請參閱