DebuggerVisualizerAttribute 构造函数
定义
初始化 DebuggerVisualizerAttribute 类的新实例。Initializes a new instance of the DebuggerVisualizerAttribute class.
重载
| DebuggerVisualizerAttribute(String) |
通过指定可视化工具的类型名称来初始化 DebuggerVisualizerAttribute 类的新实例。Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type name of the visualizer. |
| DebuggerVisualizerAttribute(Type) |
初始化 DebuggerVisualizerAttribute 类的新实例,指定可视化工具的类型。Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type of the visualizer. |
| DebuggerVisualizerAttribute(String, String) |
通过指定可视化工具的类型名称和可视化工具对象源的类型名称,来初始化 DebuggerVisualizerAttribute 类的新实例。Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type name of the visualizer and the type name of the visualizer object source. |
| DebuggerVisualizerAttribute(String, Type) |
通过指定可视化工具的类型名称和可视化工具对象源的类型,来初始化 DebuggerVisualizerAttribute 类的新实例。Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type name of the visualizer and the type of the visualizer object source. |
| DebuggerVisualizerAttribute(Type, String) |
初始化 DebuggerVisualizerAttribute 类的新实例,指定可视化工具的类型和可视化工具对象源的类型名称。Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type of the visualizer and the type name of the visualizer object source. |
| DebuggerVisualizerAttribute(Type, Type) |
初始化 DebuggerVisualizerAttribute 类的新实例,指定可视化工具的类型和可视化工具对象源的类型。Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type of the visualizer and the type of the visualizer object source. |
DebuggerVisualizerAttribute(String)
通过指定可视化工具的类型名称来初始化 DebuggerVisualizerAttribute 类的新实例。Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type name of the visualizer.
public:
DebuggerVisualizerAttribute(System::String ^ visualizerTypeName);
public DebuggerVisualizerAttribute (string visualizerTypeName);
new System.Diagnostics.DebuggerVisualizerAttribute : string -> System.Diagnostics.DebuggerVisualizerAttribute
Public Sub New (visualizerTypeName As String)
参数
- visualizerTypeName
- String
可视化工具的完全限定类型名称。The fully qualified type name of the visualizer.
注解
DebuggerVisualizerAttribute可应用于程序集、类和结构。The DebuggerVisualizerAttribute can be applied to assemblies, classes, and structures. 有关使用此属性的信息,请参阅 如何:编写可视化工具。For information on the use of this attribute, see How to: Write a Visualizer.
适用于
DebuggerVisualizerAttribute(Type)
初始化 DebuggerVisualizerAttribute 类的新实例,指定可视化工具的类型。Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type of the visualizer.
public:
DebuggerVisualizerAttribute(Type ^ visualizer);
public DebuggerVisualizerAttribute (Type visualizer);
new System.Diagnostics.DebuggerVisualizerAttribute : Type -> System.Diagnostics.DebuggerVisualizerAttribute
Public Sub New (visualizer As Type)
参数
- visualizer
- Type
可视化工具的类型。The type of the visualizer.
例外
visualizer 为 null。visualizer is null.
注解
DebuggerVisualizerAttribute可应用于程序集、类和结构。The DebuggerVisualizerAttribute can be applied to assemblies, classes, and structures. 有关使用此属性的信息,请参阅 如何:编写可视化工具。For information on the use of this attribute, see How to: Write a Visualizer.
适用于
DebuggerVisualizerAttribute(String, String)
通过指定可视化工具的类型名称和可视化工具对象源的类型名称,来初始化 DebuggerVisualizerAttribute 类的新实例。Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type name of the visualizer and the type name of the visualizer object source.
public:
DebuggerVisualizerAttribute(System::String ^ visualizerTypeName, System::String ^ visualizerObjectSourceTypeName);
public DebuggerVisualizerAttribute (string visualizerTypeName, string? visualizerObjectSourceTypeName);
public DebuggerVisualizerAttribute (string visualizerTypeName, string visualizerObjectSourceTypeName);
new System.Diagnostics.DebuggerVisualizerAttribute : string * string -> System.Diagnostics.DebuggerVisualizerAttribute
Public Sub New (visualizerTypeName As String, visualizerObjectSourceTypeName As String)
参数
- visualizerTypeName
- String
可视化工具的完全限定类型名称。The fully qualified type name of the visualizer.
- visualizerObjectSourceTypeName
- String
可视化工具对象源的完全限定的类型名称。The fully qualified type name of the visualizer object source.
注解
DebuggerVisualizerAttribute可应用于程序集、类和结构。The DebuggerVisualizerAttribute can be applied to assemblies, classes, and structures. 有关使用此属性的信息,请参阅 如何:编写可视化工具。For information on the use of this attribute, see How to: Write a Visualizer.
适用于
DebuggerVisualizerAttribute(String, Type)
通过指定可视化工具的类型名称和可视化工具对象源的类型,来初始化 DebuggerVisualizerAttribute 类的新实例。Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type name of the visualizer and the type of the visualizer object source.
public:
DebuggerVisualizerAttribute(System::String ^ visualizerTypeName, Type ^ visualizerObjectSource);
public DebuggerVisualizerAttribute (string visualizerTypeName, Type visualizerObjectSource);
new System.Diagnostics.DebuggerVisualizerAttribute : string * Type -> System.Diagnostics.DebuggerVisualizerAttribute
Public Sub New (visualizerTypeName As String, visualizerObjectSource As Type)
参数
- visualizerTypeName
- String
可视化工具的完全限定类型名称。The fully qualified type name of the visualizer.
- visualizerObjectSource
- Type
可视化工具对象源的类型。The type of the visualizer object source.
例外
visualizerObjectSource 为 null。visualizerObjectSource is null.
注解
DebuggerVisualizerAttribute可应用于程序集、类和结构。The DebuggerVisualizerAttribute can be applied to assemblies, classes, and structures. 有关使用此属性的信息,请参阅 如何:编写可视化工具。For information on the use of this attribute, see How to: Write a Visualizer.
适用于
DebuggerVisualizerAttribute(Type, String)
初始化 DebuggerVisualizerAttribute 类的新实例,指定可视化工具的类型和可视化工具对象源的类型名称。Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type of the visualizer and the type name of the visualizer object source.
public:
DebuggerVisualizerAttribute(Type ^ visualizer, System::String ^ visualizerObjectSourceTypeName);
public DebuggerVisualizerAttribute (Type visualizer, string? visualizerObjectSourceTypeName);
public DebuggerVisualizerAttribute (Type visualizer, string visualizerObjectSourceTypeName);
new System.Diagnostics.DebuggerVisualizerAttribute : Type * string -> System.Diagnostics.DebuggerVisualizerAttribute
Public Sub New (visualizer As Type, visualizerObjectSourceTypeName As String)
参数
- visualizer
- Type
可视化工具的类型。The type of the visualizer.
- visualizerObjectSourceTypeName
- String
可视化工具对象源的完全限定的类型名称。The fully qualified type name of the visualizer object source.
例外
visualizer 为 null。visualizer is null.
注解
DebuggerVisualizerAttribute可应用于程序集、类和结构。The DebuggerVisualizerAttribute can be applied to assemblies, classes, and structures. 有关使用此属性的信息,请参阅 如何:编写可视化工具。For information on the use of this attribute, see How to: Write a Visualizer.
适用于
DebuggerVisualizerAttribute(Type, Type)
初始化 DebuggerVisualizerAttribute 类的新实例,指定可视化工具的类型和可视化工具对象源的类型。Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type of the visualizer and the type of the visualizer object source.
public:
DebuggerVisualizerAttribute(Type ^ visualizer, Type ^ visualizerObjectSource);
public DebuggerVisualizerAttribute (Type visualizer, Type visualizerObjectSource);
new System.Diagnostics.DebuggerVisualizerAttribute : Type * Type -> System.Diagnostics.DebuggerVisualizerAttribute
Public Sub New (visualizer As Type, visualizerObjectSource As Type)
参数
- visualizer
- Type
可视化工具的类型。The type of the visualizer.
- visualizerObjectSource
- Type
可视化工具对象源的类型。The type of the visualizer object source.
例外
visualizerObjectSource 为 null。visualizerObjectSource is null.
注解
DebuggerVisualizerAttribute可应用于程序集、类和结构。The DebuggerVisualizerAttribute can be applied to assemblies, classes, and structures. 有关使用此属性的信息,请参阅 如何:编写可视化工具。For information on the use of this attribute, see How to: Write a Visualizer.