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

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ComplexBindingPropertiesAttributeの意味・解説 

ComplexBindingPropertiesAttribute クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

複合データ バインディングサポートするコンポーネントデータ ソース プロパティおよびデータ メンバ プロパティ指定します。このクラス継承できません。

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

<AttributeUsageAttribute(AttributeTargets.Class)> _
Public NotInheritable Class
 ComplexBindingPropertiesAttribute
    Inherits Attribute
Dim instance As ComplexBindingPropertiesAttribute
[AttributeUsageAttribute(AttributeTargets.Class)] 
public sealed class ComplexBindingPropertiesAttribute
 : Attribute
[AttributeUsageAttribute(AttributeTargets::Class)] 
public ref class ComplexBindingPropertiesAttribute
 sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class) */ 
public final class ComplexBindingPropertiesAttribute
 extends Attribute
AttributeUsageAttribute(AttributeTargets.Class) 
public final class ComplexBindingPropertiesAttribute
 extends 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.Object
   System.Attribute
    System.ComponentModel.ComplexBindingPropertiesAttribute
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ComplexBindingPropertiesAttribute メンバ
System.ComponentModel 名前空間
IList
BindableAttribute クラス
DefaultBindingPropertyAttribute
LookupBindingPropertiesAttribute

ComplexBindingPropertiesAttribute コンストラクタ ()

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

パラメータ使用せずに ComplexBindingPropertiesAttribute クラス新しインスタンス初期化します。

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

Dim instance As New ComplexBindingPropertiesAttribute
public ComplexBindingPropertiesAttribute ()
public:
ComplexBindingPropertiesAttribute ()
public ComplexBindingPropertiesAttribute ()
public function ComplexBindingPropertiesAttribute
 ()
解説解説

既定コンストラクタは、DataSource プロパティおよび DataMember プロパティnull 参照 (Visual Basic では Nothing) に設定します

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ComplexBindingPropertiesAttribute クラス
ComplexBindingPropertiesAttribute メンバ
System.ComponentModel 名前空間
DataSource
DataMember

ComplexBindingPropertiesAttribute コンストラクタ (String)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

指定したデータ ソース使用して、ComplexBindingPropertiesAttribute クラス新しインスタンス初期化します。

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

Public Sub New ( _
    dataSource As String _
)
Dim dataSource As String

Dim instance As New ComplexBindingPropertiesAttribute(dataSource)
public ComplexBindingPropertiesAttribute (
    string dataSource
)
public:
ComplexBindingPropertiesAttribute (
    String^ dataSource
)
public ComplexBindingPropertiesAttribute (
    String dataSource
)
public function ComplexBindingPropertiesAttribute
 (
    dataSource : String
)

パラメータ

dataSource

データ ソースとして使用するプロパティの名前。

解説解説

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

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ComplexBindingPropertiesAttribute クラス
ComplexBindingPropertiesAttribute メンバ
System.ComponentModel 名前空間
DataSource
DataMember

ComplexBindingPropertiesAttribute コンストラクタ (String, String)

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

指定したデータ ソースデータ メンバ使用して、ComplexBindingPropertiesAttribute クラス新しインスタンス初期化します。

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

Public Sub New ( _
    dataSource As String, _
    dataMember As String _
)
Dim dataSource As String
Dim dataMember As String

Dim instance As New ComplexBindingPropertiesAttribute(dataSource,
 dataMember)
public ComplexBindingPropertiesAttribute (
    string dataSource,
    string dataMember
)
public:
ComplexBindingPropertiesAttribute (
    String^ dataSource, 
    String^ dataMember
)
public ComplexBindingPropertiesAttribute (
    String dataSource, 
    String dataMember
)
public function ComplexBindingPropertiesAttribute
 (
    dataSource : String, 
    dataMember : String
)

パラメータ

dataSource

データ ソースとして使用するプロパティの名前。

dataMember

データ ソースとして使用するプロパティの名前。

解説解説

このコンストラクタは、DataSource プロパティdataSource に、DataMember プロパティdataMember設定します

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ComplexBindingPropertiesAttribute クラス
ComplexBindingPropertiesAttribute メンバ
System.ComponentModel 名前空間
DataSource
DataMember

ComplexBindingPropertiesAttribute コンストラクタ

ComplexBindingPropertiesAttribute クラス新しインスタンス初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
ComplexBindingPropertiesAttribute () パラメータ使用せずComplexBindingPropertiesAttribute クラス新しインスタンス初期化します。
ComplexBindingPropertiesAttribute (String) 指定したデータ ソース使用してComplexBindingPropertiesAttribute クラス新しインスタンス初期化します。
ComplexBindingPropertiesAttribute (String, String) 指定したデータ ソースデータ メンバ使用してComplexBindingPropertiesAttribute クラス新しインスタンス初期化します。
参照参照

関連項目

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

ComplexBindingPropertiesAttribute フィールド


パブリック フィールドパブリック フィールド

  名前 説明
パブリック フィールド Default 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 から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

ComplexBindingPropertiesAttribute クラス
System.ComponentModel 名前空間
IList
BindableAttribute クラス
DefaultBindingPropertyAttribute
LookupBindingPropertiesAttribute

ComplexBindingPropertiesAttribute メンバ

複合データ バインディングサポートするコンポーネントデータ ソース プロパティおよびデータ メンバ プロパティ指定します。このクラス継承できません。

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


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド ComplexBindingPropertiesAttribute オーバーロードされます。 ComplexBindingPropertiesAttribute クラス新しインスタンス初期化します。
パブリック フィールドパブリック フィールド
  名前 説明
パブリック フィールド Default 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 から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

ComplexBindingPropertiesAttribute クラス
System.ComponentModel 名前空間
IList
BindableAttribute クラス
DefaultBindingPropertyAttribute
LookupBindingPropertiesAttribute


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

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

辞書ショートカット

すべての辞書の索引

「ComplexBindingPropertiesAttribute」の関連用語

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

   

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



ComplexBindingPropertiesAttributeのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS