DataBindingCollectionConverterとは? わかりやすく解説

DataBindingCollectionConverter クラス

メモ : このクラスは、互換性のために残されています。

DataBindingCollection オブジェクトの型コンバータを提供します。

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

<ObsoleteAttribute("Use of this type is not recommended because
 DataBindings editing is launched via a DesignerActionList instead of the property
 grid. http://go.microsoft.com/fwlink/?linkid=14202")> _
Public Class DataBindingCollectionConverter
    Inherits TypeConverter
Dim instance As DataBindingCollectionConverter
[ObsoleteAttribute("Use of this type is not recommended because
 DataBindings editing is launched via a DesignerActionList instead of the property
 grid. http://go.microsoft.com/fwlink/?linkid=14202")] 
public class DataBindingCollectionConverter
 : TypeConverter
[ObsoleteAttribute(L"Use of this type is not recommended
 because DataBindings editing is launched via a DesignerActionList instead of the
 property grid. http://go.microsoft.com/fwlink/?linkid=14202")] 
public ref class DataBindingCollectionConverter
 : public TypeConverter
/** @attribute ObsoleteAttribute("Use of this type is not
 recommended because DataBindings editing is launched via a DesignerActionList instead
 of the property grid. http://go.microsoft.com/fwlink/?linkid=14202") */ 
public class DataBindingCollectionConverter
 extends TypeConverter
ObsoleteAttribute("Use of this type is not recommended because
 DataBindings editing is launched via a DesignerActionList instead of the property
 grid. http://go.microsoft.com/fwlink/?linkid=14202") 
public class DataBindingCollectionConverter
 extends TypeConverter
解説解説

この型コンバータは、String 以外のすべての変換先の型について、基本 System.ComponentModel.TypeConverter.ConvertTo メソッドを呼び出します。ただし、String には空の文字列 ("") を返します。

使用例使用例
' Associates the DataBindingCollectionConverter 
' with a DataBindingCollection property.   
<TypeConverterAttribute(GetType(DataBindingCollectionConverter))>
  _
Public Property dataBindings() As
 DataBindingCollection
   Get
      Return bindings
   End Get
   Set
      bindings = value
   End Set
End Property
Private bindings As DataBindingCollection
// Associates the DataBindingCollectionConverter 
// with a DataBindingCollection property.
[TypeConverterAttribute(typeof(DataBindingCollectionConverter))]
public DataBindingCollection dataBindings
{
    get
    {
        return bindings;
    }
    set
    {
        bindings = value;
    }
}
private DataBindingCollection bindings;
   // Associates the DataBindingCollectionConverter
   // with a DataBindingCollection property.
public:
   [TypeConverterAttribute(DataBindingCollectionConverter::typeid)]
   property DataBindingCollection^ dataBindings 
   {
      DataBindingCollection^ get()
      {
         return bindings;
      }
      void set( DataBindingCollection^ value
 )
      {
         bindings = value;
      }
   }
private:
   DataBindingCollection^ bindings;
// Associates the DataBindingCollectionConverter 
// with a DataBindingCollection property.
/** @attribute TypeConverterAttribute(DataBindingCollectionConverter.class)
 */
/** @property 
 */
public DataBindingCollection get_dataBindings()
{
    return bindings;
} //get_dataBindings

/** @property 
 */
public void set_dataBindings(DataBindingCollection
 value)
{
    bindings = value;
} //set_dataBindings

private DataBindingCollection bindings;
継承階層継承階層
System.Object
   System.ComponentModel.TypeConverter
    System.Web.UI.Design.DataBindingCollectionConverter
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataBindingCollectionConverter メンバ
System.Web.UI.Design 名前空間

DataBindingCollectionConverter コンストラクタ

DataBindingCollectionConverter クラスのインスタンスを初期化します。

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

Dim instance As New DataBindingCollectionConverter
public DataBindingCollectionConverter ()
public:
DataBindingCollectionConverter ()
public DataBindingCollectionConverter ()
public function DataBindingCollectionConverter
 ()
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataBindingCollectionConverter クラス
DataBindingCollectionConverter メンバ
System.Web.UI.Design 名前空間

DataBindingCollectionConverter メソッド


パブリック メソッドパブリック メソッド

( プロテクト メソッド も参照)
  名前 説明
パブリック メソッド CanConvertFrom  オーバーロードされます。 コンバータが特定の型のオブジェクトをコンバータの型に変換できるかどうかを示す値を返します。 ( TypeConverter から継承されます。)
パブリック メソッド CanConvertTo  オーバーロードされます。 コンバータがオブジェクトを指定した型に変換できるかどうかを示す値を返します。 ( TypeConverter から継承されます。)
パブリック メソッド ConvertFrom  オーバーロードされます。 指定した値をコンバータの型に変換します。 ( TypeConverter から継承されます。)
パブリック メソッド ConvertFromInvariantString  オーバーロードされます。 インバリアント カルチャを使用して、値をコンバータの型に変換します。 ( TypeConverter から継承されます。)
パブリック メソッド ConvertFromString  オーバーロードされます。 指定したテキストをオブジェクトに変換します。 ( TypeConverter から継承されます。)
パブリック メソッド ConvertTo オーバーロードされます。 指定した型にデータ連結コレクションを変換します。
パブリック メソッド ConvertToInvariantString  オーバーロードされます。 指定した値を、インバリアント カルチャを使用した文字列形式に変換します。 ( TypeConverter から継承されます。)
パブリック メソッド ConvertToString  オーバーロードされます。 指定した値を文字列形式に変換します。 ( TypeConverter から継承されます。)
パブリック メソッド CreateInstance  オーバーロードされます。 Object の一連のプロパティ値を指定して、そのオブジェクトを再作成します。 ( TypeConverter から継承されます。)
パブリック メソッド Equals  オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。)
パブリック メソッド GetCreateInstanceSupported  オーバーロードされます。 このオブジェクトの値を変更するときに CreateInstance メソッドを呼び出して、新しい値を作成する必要があるかどうかを返します。 ( TypeConverter から継承されます。)
パブリック メソッド GetHashCode  特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。)
パブリック メソッド GetProperties  オーバーロードされます。 value パラメータに指定された配列型のプロパティのコレクションを返します。 ( TypeConverter から継承されます。)
パブリック メソッド GetPropertiesSupported  オーバーロードされます。 オブジェクトがプロパティをサポートしているかどうかを示す値を返します。 ( TypeConverter から継承されます。)
パブリック メソッド GetStandardValues  オーバーロードされます。 型コンバータがデザインされた対象のデータ型の標準値のコレクションを返します。 ( TypeConverter から継承されます。)
パブリック メソッド GetStandardValuesExclusive  オーバーロードされます。 GetStandardValues から返された標準値のコレクションが、排他的なリストかどうかを示す値を返します。 ( TypeConverter から継承されます。)
パブリック メソッド GetStandardValuesSupported  オーバーロードされます。 リストから選択できる標準値セットをオブジェクトがサポートするかどうかを示す値を返します。 ( TypeConverter から継承されます。)
パブリック メソッド GetType  現在のインスタンスの Type を取得します。 ( Object から継承されます。)
パブリック メソッド IsValid  オーバーロードされます。 指定した値オブジェクトが型に対して有効かどうかを示す値を返します。 ( TypeConverter から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。)
パブリック メソッド ToString  現在の Object を表す String を返します。 ( Object から継承されます。)
プロテクト メソッドプロテクト メソッド
  名前 説明
プロテクト メソッド Finalize  Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。)
プロテクト メソッド GetConvertFromException  変換を実行できなかった場合にスローされる例外を返します。 ( TypeConverter から継承されます。)
プロテクト メソッド GetConvertToException  変換を実行できなかった場合にスローされる例外を返します。 ( TypeConverter から継承されます。)
プロテクト メソッド MemberwiseClone  現在の Object の簡易コピーを作成します。 ( Object から継承されます。)
プロテクト メソッド SortProperties  プロパティのコレクションを並べ替えます。 ( TypeConverter から継承されます。)
参照参照

関連項目

DataBindingCollectionConverter クラス
System.Web.UI.Design 名前空間

DataBindingCollectionConverter メンバ

DataBindingCollection オブジェクトの型コンバータを提供します。

DataBindingCollectionConverter データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド DataBindingCollectionConverter DataBindingCollectionConverter クラスのインスタンスを初期化します。
パブリック メソッドパブリック メソッド
( プロテクト メソッド も参照)
  名前 説明
パブリック メソッド CanConvertFrom  オーバーロードされます。 コンバータが特定の型のオブジェクトをコンバータの型に変換できるかどうかを示す値を返します。 (TypeConverter から継承されます。)
パブリック メソッド CanConvertTo  オーバーロードされます。 コンバータがオブジェクトを指定した型に変換できるかどうかを示す値を返します。 (TypeConverter から継承されます。)
パブリック メソッド ConvertFrom  オーバーロードされます。 指定した値をコンバータの型に変換します。 (TypeConverter から継承されます。)
パブリック メソッド ConvertFromInvariantString  オーバーロードされます。 インバリアント カルチャを使用して、値をコンバータの型に変換します。 (TypeConverter から継承されます。)
パブリック メソッド ConvertFromString  オーバーロードされます。 指定したテキストをオブジェクトに変換します。 (TypeConverter から継承されます。)
パブリック メソッド ConvertTo オーバーロードされます。 指定した型にデータ連結コレクションを変換します。
パブリック メソッド ConvertToInvariantString  オーバーロードされます。 指定した値を、インバリアント カルチャを使用した文字列形式に変換します。 (TypeConverter から継承されます。)
パブリック メソッド ConvertToString  オーバーロードされます。 指定した値を文字列形式に変換します。 (TypeConverter から継承されます。)
パブリック メソッド CreateInstance  オーバーロードされます。 Object の一連のプロパティ値を指定して、そのオブジェクトを再作成します。 (TypeConverter から継承されます。)
パブリック メソッド Equals  オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。)
パブリック メソッド GetCreateInstanceSupported  オーバーロードされます。 このオブジェクトの値を変更するときに CreateInstance メソッドを呼び出して、新しい値を作成する必要があるかどうかを返します。 (TypeConverter から継承されます。)
パブリック メソッド GetHashCode  特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。)
パブリック メソッド GetProperties  オーバーロードされます。 value パラメータに指定された配列型のプロパティのコレクションを返します。 (TypeConverter から継承されます。)
パブリック メソッド GetPropertiesSupported  オーバーロードされます。 オブジェクトがプロパティをサポートしているかどうかを示す値を返します。 (TypeConverter から継承されます。)
パブリック メソッド GetStandardValues  オーバーロードされます。 型コンバータがデザインされた対象のデータ型の標準値のコレクションを返します。 (TypeConverter から継承されます。)
パブリック メソッド GetStandardValuesExclusive  オーバーロードされます。 GetStandardValues から返された標準値のコレクションが、排他的なリストかどうかを示す値を返します。 (TypeConverter から継承されます。)
パブリック メソッド GetStandardValuesSupported  オーバーロードされます。 リストから選択できる標準値セットをオブジェクトがサポートするかどうかを示す値を返します。 (TypeConverter から継承されます。)
パブリック メソッド GetType  現在のインスタンスの Type を取得します。 (Object から継承されます。)
パブリック メソッド IsValid  オーバーロードされます。 指定した値オブジェクトが型に対して有効かどうかを示す値を返します。 (TypeConverter から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。)
パブリック メソッド ToString  現在の Object を表す String を返します。 (Object から継承されます。)
プロテクト メソッドプロテクト メソッド
  名前 説明
プロテクト メソッド Finalize  Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。)
プロテクト メソッド GetConvertFromException  変換を実行できなかった場合にスローされる例外を返します。 (TypeConverter から継承されます。)
プロテクト メソッド GetConvertToException  変換を実行できなかった場合にスローされる例外を返します。 (TypeConverter から継承されます。)
プロテクト メソッド MemberwiseClone  現在の Object の簡易コピーを作成します。 (Object から継承されます。)
プロテクト メソッド SortProperties  プロパティのコレクションを並べ替えます。 (TypeConverter から継承されます。)
参照参照

関連項目

DataBindingCollectionConverter クラス
System.Web.UI.Design 名前空間



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「DataBindingCollectionConverter」の関連用語

DataBindingCollectionConverterのお隣キーワード
検索ランキング

   

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



DataBindingCollectionConverterのページの著作権

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

©2026 GRAS Group, Inc.RSS