DataBindingHandlerAttribute.HandlerTypeName プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataBindingHandlerAttribute.HandlerTypeName プロパティの意味・解説 

DataBindingHandlerAttribute.HandlerTypeName プロパティ

データ バインディング ハンドラ型名取得します

名前空間: System.Web.UI
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As DataBindingHandlerAttribute
Dim value As String

value = instance.HandlerTypeName
public string HandlerTypeName { get;
 }
public:
property String^ HandlerTypeName {
    String^ get ();
}
/** @property */
public String get_HandlerTypeName ()
public function get HandlerTypeName
 () : String

プロパティ
ハンドラ型名型名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
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataBindingHandlerAttribute クラス
DataBindingHandlerAttribute メンバ
System.Web.UI 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からDataBindingHandlerAttribute.HandlerTypeName プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からDataBindingHandlerAttribute.HandlerTypeName プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からDataBindingHandlerAttribute.HandlerTypeName プロパティを検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

DataBindingHandlerAttribute.HandlerTypeName プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



DataBindingHandlerAttribute.HandlerTypeName プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS