ComplexBindingPropertiesAttribute クラス
アセンブリ: System (system.dll 内)

<AttributeUsageAttribute(AttributeTargets.Class)> _ Public NotInheritable Class ComplexBindingPropertiesAttribute Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class)] public sealed class ComplexBindingPropertiesAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class)] public ref class ComplexBindingPropertiesAttribute sealed : public Attribute

ComplexBindingPropertiesAttribute を使用して、System.Collections.IList に基づくバインディングなど、複合データ バインディングで使用するプロパティを指定します。
ComplexBindingPropertiesAttribute 属性は、クラス レベルで指定されます。これは継承可能で、同じクラスで複数の属性を使用することはできません。
コントロールは、DefaultBindingPropertyAttribute を使用して、単純バインディングと複合バインディングの両方をサポートできます。

ComplexBindingPropertiesAttribute を使用して、データ バインディングのためにコントロールの DataSource プロパティおよび DataMember プロパティを識別するコード例を次に示します。コード全体については、「方法 : Windows フォーム コントロールに属性を適用する」を参照してください。
' This control demonstrates a simple logging capability. <ComplexBindingProperties("DataSource", "DataMember"), _ DefaultBindingProperty("TitleText"), _ DefaultEvent("ThresholdExceeded"), _ DefaultProperty("Threshold"), _ HelpKeywordAttribute(GetType(UserControl)), _ ToolboxItem("System.Windows.Forms.Design.AutoSizeToolboxItem,System.Design")> _ Public Class AttributesDemoControl Inherits UserControl
// This control demonstrates a simple logging capability. [ComplexBindingProperties("DataSource", "DataMember")] [DefaultBindingProperty("TitleText")] [DefaultEvent("ThresholdExceeded")] [DefaultProperty("Threshold")] [HelpKeywordAttribute(typeof(UserControl))] [ToolboxItem("System.Windows.Forms.Design.AutoSizeToolboxItem,System.Design")] public class AttributesDemoControl : UserControl {

System.Attribute
System.ComponentModel.ComplexBindingPropertiesAttribute


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


ComplexBindingPropertiesAttribute メンバ
System.ComponentModel 名前空間
IList
BindableAttribute クラス
DefaultBindingPropertyAttribute
LookupBindingPropertiesAttribute
ComplexBindingPropertiesAttribute コンストラクタ ()
アセンブリ: System (system.dll 内)



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


ComplexBindingPropertiesAttribute クラス
ComplexBindingPropertiesAttribute メンバ
System.ComponentModel 名前空間
DataSource
DataMember
ComplexBindingPropertiesAttribute コンストラクタ (String)
アセンブリ: System (system.dll 内)


このコンストラクタは、DataSource プロパティを dataSource に、DataMember プロパティを null 参照 (Visual Basic では Nothing) に設定します。

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


ComplexBindingPropertiesAttribute クラス
ComplexBindingPropertiesAttribute メンバ
System.ComponentModel 名前空間
DataSource
DataMember
ComplexBindingPropertiesAttribute コンストラクタ (String, String)
アセンブリ: System (system.dll 内)

Dim dataSource As String Dim dataMember As String Dim instance As New ComplexBindingPropertiesAttribute(dataSource, dataMember)


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


ComplexBindingPropertiesAttribute クラス
ComplexBindingPropertiesAttribute メンバ
System.ComponentModel 名前空間
DataSource
DataMember
ComplexBindingPropertiesAttribute コンストラクタ

名前 | 説明 |
---|---|
ComplexBindingPropertiesAttribute () | パラメータを使用せずに ComplexBindingPropertiesAttribute クラスの新しいインスタンスを初期化します。 |
ComplexBindingPropertiesAttribute (String) | 指定したデータ ソースを使用して、ComplexBindingPropertiesAttribute クラスの新しいインスタンスを初期化します。 |
ComplexBindingPropertiesAttribute (String, String) | 指定したデータ ソースとデータ メンバを使用して、ComplexBindingPropertiesAttribute クラスの新しいインスタンスを初期化します。 |

関連項目
ComplexBindingPropertiesAttribute クラスComplexBindingPropertiesAttribute メンバ
System.ComponentModel 名前空間
DataSource
DataMember
ComplexBindingPropertiesAttribute フィールド


関連項目
ComplexBindingPropertiesAttribute クラスSystem.ComponentModel 名前空間
IList
BindableAttribute クラス
DefaultBindingPropertyAttribute
LookupBindingPropertiesAttribute
ComplexBindingPropertiesAttribute プロパティ

名前 | 説明 | |
---|---|---|
![]() | DataMember | ComplexBindingPropertiesAttribute のバインド先となるコンポーネントのデータ メンバ プロパティの名前を取得します。 |
![]() | DataSource | ComplexBindingPropertiesAttribute のバインド先となるコンポーネントのデータ ソース プロパティの名前を取得します。 |
![]() | TypeId | 派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。 ( Attribute から継承されます。) |

関連項目
ComplexBindingPropertiesAttribute クラスSystem.ComponentModel 名前空間
IList
BindableAttribute クラス
DefaultBindingPropertyAttribute
LookupBindingPropertiesAttribute
ComplexBindingPropertiesAttribute メソッド

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 オーバーライドされます。 指定した Object が現在の ComplexBindingPropertiesAttribute インスタンスと等しいかどうかを判断します。 |
![]() | GetCustomAttribute | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 ( Attribute から継承されます。) |
![]() | GetCustomAttributes | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 ( Attribute から継承されます。) |
![]() | GetHashCode | オーバーライドされます。 |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | IsDefaultAttribute | 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 ( Attribute から継承されます。) |
![]() | IsDefined | オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 ( Attribute から継承されます。) |
![]() | Match | 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 ( Attribute から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |

関連項目
ComplexBindingPropertiesAttribute クラスSystem.ComponentModel 名前空間
IList
BindableAttribute クラス
DefaultBindingPropertyAttribute
LookupBindingPropertiesAttribute
ComplexBindingPropertiesAttribute メンバ
複合データ バインディングをサポートするコンポーネントのデータ ソース プロパティおよびデータ メンバ プロパティを指定します。このクラスは継承できません。
ComplexBindingPropertiesAttribute データ型で公開されるメンバを以下の表に示します。

名前 | 説明 | |
---|---|---|
![]() | ComplexBindingPropertiesAttribute | オーバーロードされます。 ComplexBindingPropertiesAttribute クラスの新しいインスタンスを初期化します。 |


名前 | 説明 | |
---|---|---|
![]() | DataMember | ComplexBindingPropertiesAttribute のバインド先となるコンポーネントのデータ メンバ プロパティの名前を取得します。 |
![]() | DataSource | ComplexBindingPropertiesAttribute のバインド先となるコンポーネントのデータ ソース プロパティの名前を取得します。 |
![]() | TypeId | 派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。(Attribute から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 オーバーライドされます。 指定した Object が現在の ComplexBindingPropertiesAttribute インスタンスと等しいかどうかを判断します。 |
![]() | GetCustomAttribute | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 (Attribute から継承されます。) |
![]() | GetCustomAttributes | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 (Attribute から継承されます。) |
![]() | GetHashCode | オーバーライドされます。 |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | IsDefaultAttribute | 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 (Attribute から継承されます。) |
![]() | IsDefined | オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 (Attribute から継承されます。) |
![]() | Match | 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 (Attribute から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |

関連項目
ComplexBindingPropertiesAttribute クラスSystem.ComponentModel 名前空間
IList
BindableAttribute クラス
DefaultBindingPropertyAttribute
LookupBindingPropertiesAttribute
Weblioに収録されているすべての辞書からComplexBindingPropertiesAttributeを検索する場合は、下記のリンクをクリックしてください。

- ComplexBindingPropertiesAttributeのページへのリンク