ParenthesizePropertyNameAttribute クラス

定義

関連付けられているプロパティの名前をかっこで囲んで [プロパティ] ウィンドウに表示するかどうかを示します。 このクラスは継承できません。

public ref class ParenthesizePropertyNameAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.All)]
public sealed class ParenthesizePropertyNameAttribute : Attribute
public sealed class ParenthesizePropertyNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.All)>]
type ParenthesizePropertyNameAttribute = class
    inherit Attribute
type ParenthesizePropertyNameAttribute = class
    inherit Attribute
Public NotInheritable Class ParenthesizePropertyNameAttribute
Inherits Attribute
継承
ParenthesizePropertyNameAttribute
属性

注釈

の値trueを持NeedParenthesisつ はParenthesizePropertyNameAttribute、関連付けられたプロパティを名前の周りにかっこで囲んで表示する必要があることをプロパティ ウィンドウに示します。 プロパティ ウィンドウでは、リストの先頭付近に名前がかっこで囲まれたプロパティがアルファベット順モードで表示されます。また、プロパティ ウィンドウが分類モードの場合はカテゴリの先頭付近に表示されます。

コンストラクター

ParenthesizePropertyNameAttribute()

関連付けられているプロパティをかっこで囲んで表示しないことを示す、ParenthesizePropertyNameAttribute クラスの新しいインスタンスを初期化します。

ParenthesizePropertyNameAttribute(Boolean)

属性をかっこで囲んで表示するかどうかを示す値を指定して、ParenthesizePropertyNameAttribute クラスの新しいインスタンスを初期化します。

フィールド

Default

関連付けられているプロパティをかっこで囲んで表示しないことを示す既定値を指定して、ParenthesizePropertyNameAttribute クラスの新しいインスタンスを初期化します。 このフィールドは読み取り専用です。

プロパティ

NeedParenthesis

プロパティの名前をかっこで囲んで [プロパティ] ウィンドウに表示するかどうかを示す値を取得します。

TypeId

派生クラスで実装されると、この Attribute の一意の識別子を取得します。

(継承元 Attribute)

メソッド

Equals(Object)

指定されたオブジェクトとこのオブジェクトを比較して、等しいかどうかをテストします。

GetHashCode()

オブジェクトのハッシュ コードを取得します。

GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
IsDefaultAttribute()

属性の現在の値が既定値かどうかを示す値を取得します。

IsDefaultAttribute()

派生クラスでオーバーライドされるとき、このインスタンスの値が派生クラスの既定値であるかどうかを示します。

(継承元 Attribute)
Match(Object)

派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。

(継承元 Attribute)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

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

_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

一連の名前を対応する一連のディスパッチ識別子に割り当てます。

(継承元 Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

オブジェクトの型情報を取得します。この情報はインターフェイスの型情報の取得に使用できます。

(継承元 Attribute)
_Attribute.GetTypeInfoCount(UInt32)

オブジェクトが提供する型情報インターフェイスの数 (0 または 1) を取得します。

(継承元 Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

オブジェクトによって公開されたプロパティおよびメソッドへのアクセスを提供します。

(継承元 Attribute)

適用対象