Επεξεργασία

Κοινή χρήση μέσω


UserControl.IAttributeAccessor.GetAttribute(String) Method

Definition

Returns the value of the specified user control attribute.

 virtual System::String ^ System.Web.UI.IAttributeAccessor.GetAttribute(System::String ^ name) = System::Web::UI::IAttributeAccessor::GetAttribute;
string IAttributeAccessor.GetAttribute (string name);
abstract member System.Web.UI.IAttributeAccessor.GetAttribute : string -> string
override this.System.Web.UI.IAttributeAccessor.GetAttribute : string -> string
Function GetAttribute (name As String) As String Implements IAttributeAccessor.GetAttribute

Parameters

name
String

The name of the attribute to get the value of.

Returns

The value of the specified user control attribute.

Implements

Remarks

Use the IAttributeAccessor.GetAttribute method to get the value of control attributes that are not exposed as properties on the control.

Applies to

See also