次の方法で共有


PropertyWindowAttribute クラス

プロパティをプロパティ ウィンドウに表示するかどうかを示す、プロパティの属性を表します。

継承階層

System.Object
  System.Attribute
    Microsoft.VisualStudio.TestTools.Common.PropertyWindowAttribute

名前空間:  Microsoft.VisualStudio.TestTools.Common
アセンブリ:  Microsoft.VisualStudio.QualityTools.Common (Microsoft.VisualStudio.QualityTools.Common.dll 内)

構文

'宣言
<AttributeUsageAttribute(AttributeTargets.Property)> _
Public NotInheritable Class PropertyWindowAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Property)]
public sealed class PropertyWindowAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property)]
public ref class PropertyWindowAttribute sealed : public Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Property)>]
type PropertyWindowAttribute =  
    class
        inherit Attribute
    end
public final class PropertyWindowAttribute extends Attribute

PropertyWindowAttribute 型で公開されるメンバーは以下のとおりです。

コンストラクター

  名前 説明
パブリック メソッド PropertyWindowAttribute() PropertyWindowAttribute クラスの新しいインスタンスを初期化します。
パブリック メソッド PropertyWindowAttribute(PropertyConverterType) 指定したコンバーターの型インジケーターを使用して、PropertyWindowAttribute クラスの新しいインスタンスを初期化します。
パブリック メソッド PropertyWindowAttribute(PropertyEditorType) 指定したプロパティ エディターの型インジケーターを使用して、PropertyWindowAttribute クラスの新しいインスタンスを初期化します。
パブリック メソッド PropertyWindowAttribute(PropertyEditorType, PropertyConverterType) 指定したエディターおよびコンバーターの型インジケーターを使用して、PropertyWindowAttribute クラスの新しいインスタンスを初期化します。

このページのトップへ

プロパティ

  名前 説明
パブリック プロパティ ConverterType プロパティ コンバーターの型インジケーターを取得します。
パブリック プロパティ EditorType プロパティ エディターの型インジケーターを取得します。
パブリック プロパティ TypeId 派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。 (Attribute から継承されます。)

このページのトップへ

メソッド

  名前 説明
パブリック メソッド Equals インフラストラクチャ。このインスタンスが、指定したオブジェクトに等しいかどうかを示す値を返します。 (Attribute から継承されます。)
パブリック メソッド GetHashCode 対象のインスタンスのハッシュ コードを返します。 (Attribute から継承されます。)
パブリック メソッド GetType 現在のインスタンスの Type を取得します。 (Object から継承されます。)
パブリック メソッド IsDefaultAttribute 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 (Attribute から継承されます。)
パブリック メソッド Match 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 (Attribute から継承されます。)
パブリック メソッド ToString 現在のオブジェクトを表す文字列を返します。 (Object から継承されます。)

このページのトップへ

明示的インターフェイスの実装

  名前 説明
明示的なインターフェイス実装プライベート メソッド _Attribute.GetIDsOfNames 一連の名前を対応する一連のディスパッチ識別子に割り当てます。 (Attribute から継承されます。)
明示的なインターフェイス実装プライベート メソッド _Attribute.GetTypeInfo オブジェクトの型情報を取得します。この情報はインターフェイスの型情報の取得に使用できます。 (Attribute から継承されます。)
明示的なインターフェイス実装プライベート メソッド _Attribute.GetTypeInfoCount オブジェクトが提供する型情報インターフェイスの数 (0 または 1) を取得します。 (Attribute から継承されます。)
明示的なインターフェイス実装プライベート メソッド _Attribute.Invoke オブジェクトによって公開されたプロパティおよびメソッドへのアクセスを提供します。 (Attribute から継承されます。)

このページのトップへ

解説

属性の使用方法の詳細については、「属性を使用したメタデータの拡張」を参照してください。

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

参照

関連項目

Microsoft.VisualStudio.TestTools.Common 名前空間

その他の技術情報

属性を使用したメタデータの拡張