Share via


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

属性の名前。

戻り値

属性の値。

実装

注釈

attributes コレクションが の場合、このメソッドは null空の文字列を返します。

適用対象

こちらもご覧ください