DebuggerVisualizerAttribute クラス

定義

型がビジュアライザーを持つことを指定します。 このクラスは継承できません。

public ref class DebuggerVisualizerAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple=true)]
public sealed class DebuggerVisualizerAttribute : Attribute
public sealed class DebuggerVisualizerAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple=true)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class DebuggerVisualizerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple=true)>]
type DebuggerVisualizerAttribute = class
    inherit Attribute
type DebuggerVisualizerAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple=true)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type DebuggerVisualizerAttribute = class
    inherit Attribute
Public NotInheritable Class DebuggerVisualizerAttribute
Inherits Attribute
継承
DebuggerVisualizerAttribute
属性

注釈

この属性は、アセンブリ レベルで使用できます。 通常、属性コンストラクターは 2 つの型を受け取ります。 2 つの型はビジュアライザーとビジュアライザー オブジェクト ソースであり、型または完全修飾アセンブリ型名として指定されます。 2 番目のオプションは、ビジュアライザー アセンブリが を含む DebuggerVisualizerAttributeアセンブリによって参照される必要がないように提供されます。 これにより、コンポーネント作成者は DLL 内のビジュアライザーを配布し、デバッグ時にのみ呼び出すことができます。 プロパティは Description 、ドロップダウン ボックスに表示されるビジュアライザーの説明を指定します。 ターゲット パラメーターは、ビジュアライザーのターゲットである型を指定します。 ビジュアライザーの詳細については、「 データのカスタム ビジュアライザーを作成する」を参照してください。

注意

ビジュアライザーとビジュアライザー オブジェクト ソースの実装は、ホスティング デバッガーに依存します。 Visual Studio 2005 のビジュアライザーを作成する方法については、「 How to: Write a Visualizer」を参照してください。

コンストラクター

DebuggerVisualizerAttribute(String)

ビジュアライザーの型名を指定して、DebuggerVisualizerAttribute の新しいインスタンスを初期化します。

DebuggerVisualizerAttribute(String, String)

ビジュアライザーの型名およびビジュアライザー オブジェクト ソースの型名を指定して、DebuggerVisualizerAttribute クラスの新しいインスタンスを初期化します。

DebuggerVisualizerAttribute(String, Type)

ビジュアライザーの型名およびビジュアライザー オブジェクト ソースの型を指定して、DebuggerVisualizerAttribute クラスの新しいインスタンスを初期化します。

DebuggerVisualizerAttribute(Type)

ビジュアライザーの型を指定して、DebuggerVisualizerAttribute クラスの新しいインスタンスを初期化します。

DebuggerVisualizerAttribute(Type, String)

ビジュアライザーの型とビジュアライザー オブジェクト ソースの型名を指定して、DebuggerVisualizerAttribute クラスの新しいインスタンスを初期化します。

DebuggerVisualizerAttribute(Type, Type)

ビジュアライザーの型とビジュアライザー オブジェクト ソースの型を指定して、DebuggerVisualizerAttribute クラスの新しいインスタンスを初期化します。

プロパティ

Description

ビジュアライザーの説明を取得または設定します。

Target

属性がアセンブリ レベルで適用される場合の対象の型を取得または設定します。

TargetTypeName

属性がアセンブリ レベルで適用される場合の完全修飾型名を取得または設定します。

TypeId

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

(継承元 Attribute)
VisualizerObjectSourceTypeName

ビジュアライザー オブジェクト ソースの完全修飾型名を取得します。

VisualizerTypeName

ビジュアライザーの完全修飾型名を取得します。

メソッド

Equals(Object)

このインスタンスが、指定されたオブジェクトと等価であるかどうかを示す値を返します。

(継承元 Attribute)
GetHashCode()

このインスタンスのハッシュ コードを返します。

(継承元 Attribute)
GetType()

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

(継承元 Object)
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)

適用対象