語言

DeviceSpecificChoice.SetAttribute(String, String) 方法

定義

將指定值指派給由鍵指定的屬性。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

protected:
 void SetAttribute(System::String ^ key, System::String ^ value);
protected void SetAttribute(string key, string value);
member this.SetAttribute : string * string -> unit
Protected Sub SetAttribute (key As String, value As String)

參數

key
String

屬性名稱為集合。

value
String

指的是賦予該屬性的值。

適用於

另請參閱