DkmCustomUIVisualizerInfo.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Create(UInt32, String, String, String) |
Create新的 DkmCustomUIVisualizerInfo 对象实例。 |
Create(UInt32, String, String, String, String, String, DkmClrCustomVisualizerAssemblyLocation, String, String) |
Create新的 DkmCustomUIVisualizerInfo 对象实例。 此 API 是在 Visual Studio 14 RTM (DkmApiVersion.VS14RTM) 中引入的。 |
Create(UInt32, String, String, String, String, String, DkmClrCustomVisualizerAssemblyLocation, String, String, Guid) |
Create新的 DkmCustomUIVisualizerInfo 对象实例。 此 API 是在 Visual Studio 17 Update 5 (DkmApiVersion.VS17Update5) 中引入的。 |
Create(UInt32, String, String, String)
Create新的 DkmCustomUIVisualizerInfo 对象实例。
public:
static Microsoft::VisualStudio::Debugger::Evaluation::DkmCustomUIVisualizerInfo ^ Create(System::UInt32 Id, System::String ^ MenuName, System::String ^ Description, System::String ^ Metric);
public:
static Microsoft::VisualStudio::Debugger::Evaluation::DkmCustomUIVisualizerInfo ^ Create(unsigned int Id, Platform::String ^ MenuName, Platform::String ^ Description, Platform::String ^ Metric);
static Microsoft::VisualStudio::Debugger::Evaluation::DkmCustomUIVisualizerInfo Create(unsigned int Id, std::wstring const & MenuName, std::wstring const & Description, std::wstring const & Metric);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomUIVisualizerInfo Create (uint Id, string MenuName, string Description, string Metric);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomUIVisualizerInfo Create (uint Id, string MenuName, string? Description, string Metric);
static member Create : uint32 * string * string * string -> Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomUIVisualizerInfo
Public Shared Function Create (Id As UInteger, MenuName As String, Description As String, Metric As String) As DkmCustomUIVisualizerInfo
参数
- Id
- UInt32
[In]此查看器的唯一 ID。
- MenuName
- String
[In]将在下拉菜单中显示的文本。
- Description
- String
[In,Optional]自定义查看器的说明。
- Metric
- String
[In]存储查看器 CLSID 的 EE 指标的名称。
返回
[Out]此方法调用的结果。
适用于
Create(UInt32, String, String, String, String, String, DkmClrCustomVisualizerAssemblyLocation, String, String)
Create新的 DkmCustomUIVisualizerInfo 对象实例。
此 API 是在 Visual Studio 14 RTM (DkmApiVersion.VS14RTM) 中引入的。
public:
static Microsoft::VisualStudio::Debugger::Evaluation::DkmCustomUIVisualizerInfo ^ Create(System::UInt32 Id, System::String ^ MenuName, System::String ^ Description, System::String ^ Metric, System::String ^ UISideVisualizerTypeName, System::String ^ UISideVisualizerAssemblyName, Microsoft::VisualStudio::Debugger::Evaluation::DkmClrCustomVisualizerAssemblyLocation UISideVisualizerAssemblyLocation, System::String ^ DebuggeeSideVisualizerTypeName, System::String ^ DebuggeeSideVisualizerAssemblyName);
public:
static Microsoft::VisualStudio::Debugger::Evaluation::DkmCustomUIVisualizerInfo ^ Create(unsigned int Id, Platform::String ^ MenuName, Platform::String ^ Description, Platform::String ^ Metric, Platform::String ^ UISideVisualizerTypeName, Platform::String ^ UISideVisualizerAssemblyName, Microsoft::VisualStudio::Debugger::Evaluation::DkmClrCustomVisualizerAssemblyLocation UISideVisualizerAssemblyLocation, Platform::String ^ DebuggeeSideVisualizerTypeName, Platform::String ^ DebuggeeSideVisualizerAssemblyName);
static Microsoft::VisualStudio::Debugger::Evaluation::DkmCustomUIVisualizerInfo Create(unsigned int Id, std::wstring const & MenuName, std::wstring const & Description, std::wstring const & Metric, std::wstring const & UISideVisualizerTypeName, std::wstring const & UISideVisualizerAssemblyName, Microsoft::VisualStudio::Debugger::Evaluation::DkmClrCustomVisualizerAssemblyLocation UISideVisualizerAssemblyLocation, std::wstring const & DebuggeeSideVisualizerTypeName, std::wstring const & DebuggeeSideVisualizerAssemblyName);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomUIVisualizerInfo Create (uint Id, string MenuName, string Description, string Metric, string UISideVisualizerTypeName, string UISideVisualizerAssemblyName, Microsoft.VisualStudio.Debugger.Evaluation.DkmClrCustomVisualizerAssemblyLocation UISideVisualizerAssemblyLocation, string DebuggeeSideVisualizerTypeName, string DebuggeeSideVisualizerAssemblyName);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomUIVisualizerInfo Create (uint Id, string MenuName, string? Description, string Metric, string? UISideVisualizerTypeName, string? UISideVisualizerAssemblyName, Microsoft.VisualStudio.Debugger.Evaluation.DkmClrCustomVisualizerAssemblyLocation UISideVisualizerAssemblyLocation, string? DebuggeeSideVisualizerTypeName, string? DebuggeeSideVisualizerAssemblyName);
static member Create : uint32 * string * string * string * string * string * Microsoft.VisualStudio.Debugger.Evaluation.DkmClrCustomVisualizerAssemblyLocation * string * string -> Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomUIVisualizerInfo
Public Shared Function Create (Id As UInteger, MenuName As String, Description As String, Metric As String, UISideVisualizerTypeName As String, UISideVisualizerAssemblyName As String, UISideVisualizerAssemblyLocation As DkmClrCustomVisualizerAssemblyLocation, DebuggeeSideVisualizerTypeName As String, DebuggeeSideVisualizerAssemblyName As String) As DkmCustomUIVisualizerInfo
参数
- Id
- UInt32
[In]此查看器的唯一 ID。
- MenuName
- String
[In]将在下拉菜单中显示的文本。
- Description
- String
[In,Optional]自定义查看器的说明。
- Metric
- String
[In]存储查看器 CLSID 的 EE 指标的名称。
- UISideVisualizerTypeName
- String
[In,Optional]自定义托管可视化工具的 UI 端类的全名。
- UISideVisualizerAssemblyName
- String
[In,Optional]UI 端可视化工具程序集的全名。
- UISideVisualizerAssemblyLocation
- DkmClrCustomVisualizerAssemblyLocation
[In]UI 端可视化工具程序集的位置。
- DebuggeeSideVisualizerTypeName
- String
[In,Optional]自定义托管可视化工具的调试对象端类的全名。
- DebuggeeSideVisualizerAssemblyName
- String
[In,Optional]调试对象端可视化工具程序集的全名。
返回
[Out]此方法调用的结果。
适用于
Create(UInt32, String, String, String, String, String, DkmClrCustomVisualizerAssemblyLocation, String, String, Guid)
Create新的 DkmCustomUIVisualizerInfo 对象实例。
此 API 是在 Visual Studio 17 Update 5 (DkmApiVersion.VS17Update5) 中引入的。
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomUIVisualizerInfo Create (uint Id, string MenuName, string? Description, string Metric, string? UISideVisualizerTypeName, string? UISideVisualizerAssemblyName, Microsoft.VisualStudio.Debugger.Evaluation.DkmClrCustomVisualizerAssemblyLocation UISideVisualizerAssemblyLocation, string? DebuggeeSideVisualizerTypeName, string? DebuggeeSideVisualizerAssemblyName, Guid ExtensionPartId);
static member Create : uint32 * string * string * string * string * string * Microsoft.VisualStudio.Debugger.Evaluation.DkmClrCustomVisualizerAssemblyLocation * string * string * Guid -> Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomUIVisualizerInfo
Public Shared Function Create (Id As UInteger, MenuName As String, Description As String, Metric As String, UISideVisualizerTypeName As String, UISideVisualizerAssemblyName As String, UISideVisualizerAssemblyLocation As DkmClrCustomVisualizerAssemblyLocation, DebuggeeSideVisualizerTypeName As String, DebuggeeSideVisualizerAssemblyName As String, ExtensionPartId As Guid) As DkmCustomUIVisualizerInfo
参数
- Id
- UInt32
[In]此查看器的唯一 ID。
- MenuName
- String
[In]将在下拉菜单中显示的文本。
- Description
- String
[In,Optional]自定义查看器的说明。
- Metric
- String
[In]存储查看器 CLSID 的 EE 指标的名称。
- UISideVisualizerTypeName
- String
[In,Optional]自定义托管可视化工具的 UI 端类的全名。
- UISideVisualizerAssemblyName
- String
[In,Optional]UI 端可视化工具程序集的全名。
- UISideVisualizerAssemblyLocation
- DkmClrCustomVisualizerAssemblyLocation
[In]UI 端可视化工具程序集的位置。
- DebuggeeSideVisualizerTypeName
- String
[In,Optional]自定义托管可视化工具的调试对象端类的全名。
- DebuggeeSideVisualizerAssemblyName
- String
[In,Optional]调试对象端可视化工具程序集的全名。
- ExtensionPartId
- Guid
[In]这是通过 ExtensionPartManager 安装的可视化工具的唯一 ID。
返回
[Out]此方法调用的结果。