MobileControl.SetAttribute(String, String) Metoda

Definicja

Wyznacza atrybut i jego wartość do przypisania do MobileControl obiektu. Ten interfejs API jest nieaktualny. Aby uzyskać informacje o sposobie tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Sites with ASP.NET (Aplikacje mobilne & z ASP.NET).

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

Parametry

name
String

Oznaczanie String klucza atrybutu do ustawienia.

value
String

Element String do przypisania jako wartość atrybutu.

Uwagi

Atrybuty ustawione za pomocą wywołań metody SetAttribute są przechowywane we CustomAttributes właściwości .

Dotyczy

Zobacz też