EAPCtrlUtilsGetAttribute Method |
Gets the specified Attribute for the control.
The control can be a WebControl or an HtmlControl.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string GetAttribute(
Control ctrl,
string name
)
Public Shared Function GetAttribute (
ctrl As Control,
name As String
) As String
Parameters
- ctrl
- Type: System.Web.UIControl
The control. - name
- Type: SystemString
The attribute name.
Return Value
Type:
StringThe attribute value, if available, else null.
See Also