IHtmlControlDesignerBehavior.GetAttribute(String, Boolean) Metod

Definition

Hämtar det angivna attributet.

public:
 System::Object ^ GetAttribute(System::String ^ attribute, bool ignoreCase);
public object GetAttribute(string attribute, bool ignoreCase);
abstract member GetAttribute : string * bool -> obj
Public Function GetAttribute (attribute As String, ignoreCase As Boolean) As Object

Parametrar

attribute
String

Attributet som ska hämtas.

ignoreCase
Boolean

trueom attributsyntaxen är skiftlägeskänslig; annars . false

Returer

Attributet som hämtades.

Kommentarer

Note

Metoden GetAttribute är föråldrad. GetAttribute Använd metoden på Tag egenskapen ControlDesigner för klassen för motsvarande kontrolldesignerfunktioner.

Gäller för

Se även