DataBindingHandlerAttribute.HandlerTypeName プロパティ
アセンブリ: System.Web (system.web.dll 内)

ハンドラの型名。型名が null 参照 (Visual Basic では Nothing) の場合、このプロパティは空の文字列 ("") を返します。

DataBindingHandlerAttribute クラスのインスタンスから HandlerTypeName プロパティを取得するコード例を次に示します。
<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
[ DataBindingHandlerAttribute(typeof(System.Web.UI.Design.TextDataBindingHandler)) ] public class SimpleWebControl:WebControl { // Insert code for class members here } class TestAttributes { public static void Main() { System.ComponentModel.AttributeCollection myAttributes = TypeDescriptor.GetAttributes(typeof(SimpleWebControl)); DataBindingHandlerAttribute myDataBindingHandlerAttribute = myAttributes[typeof(DataBindingHandlerAttribute)] as DataBindingHandlerAttribute; if(myDataBindingHandlerAttribute != null) { Console.Write("DataBindingHandlerAttribute's HandlerTypeName is : " + myDataBindingHandlerAttribute.HandlerTypeName); } } }
/** @attribute DataBindingHandlerAttribute(System.Web.UI.Design. TextDataBindingHandler.class) */ public class SimpleWebControl extends WebControl { // Insert code for class members here } //SimpleWebControl class TestAttributes { public static void main(String[] args) { System.ComponentModel.AttributeCollection myAttributes = TypeDescriptor. GetAttributes(SimpleWebControl.class.ToType()); DataBindingHandlerAttribute myDataBindingHandlerAttribute = (DataBindingHandlerAttribute)myAttributes. get_Item(DataBindingHandlerAttribute.class.ToType()); if (myDataBindingHandlerAttribute != null) { Console.Write("DataBindingHandlerAttribute's " + "HandlerTypeName is : " + myDataBindingHandlerAttribute.get_HandlerTypeName()); } } //main } //TestAttributes

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDataBindingHandlerAttribute.HandlerTypeName プロパティを検索する場合は、下記のリンクをクリックしてください。

- DataBindingHandlerAttribute.HandlerTypeName プロパティのページへのリンク