DataBindingHandlerAttribute.HandlerTypeName Property
.NET Framework (current version)
Gets the type name of the data-binding handler.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.StringThe type name of the handler. If the type name is null, this property returns an empty string ("").
The following code example retrieves the HandlerTypeName property from an instance of the DataBindingHandlerAttribute class.
<DataBindingHandlerAttribute(GetType(System.Web.UI.Design.TextDataBindingHandler))> _ Public Class SimpleWebControl Inherits WebControl ' Insert code for class members here End Class 'SimpleWebControl Class TestAttributes Public Shared Sub Main() Dim myAttributes As System.ComponentModel.AttributeCollection = _ TypeDescriptor.GetAttributes(GetType(SimpleWebControl)) Dim myDataBindingHandlerAttribute As DataBindingHandlerAttribute = _ myAttributes(GetType(DataBindingHandlerAttribute)) If Not (myDataBindingHandlerAttribute Is Nothing) Then Console.Write(("DataBindingHandlerAttribute's HandlerTypeName is : " + _ myDataBindingHandlerAttribute.HandlerTypeName)) End If End Sub 'Main End Class 'TestAttributes
.NET Framework
Available since 1.1
Available since 1.1
Show: