DynamicControl.SetAttribute(String, String) DynamicControl.SetAttribute(String, String) DynamicControl.SetAttribute(String, String) DynamicControl.SetAttribute(String, String) Method

定義

將指定的屬性設定為指定的值。Sets the specified attribute to the specified value.

public:
 virtual void SetAttribute(System::String ^ key, System::String ^ value);
public void SetAttribute (string key, string value);
abstract member SetAttribute : string * string -> unit
override this.SetAttribute : string * string -> unit
Public Sub SetAttribute (key As String, value As String)

參數

key
String String String String

要設定的屬性名稱。The name of the attribute to set.

value
String String String String

要指派給屬性的值。The value to assign to the attribute.

實作

適用於