DeviceSpecificChoice.SetAttribute(String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將指定值指派給由鍵指定的屬性。 這個 API 已經過時了。 有關如何開發 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
指的是賦予該屬性的值。