DkmClrType.ResolveMethodName 方法

定义

将属于给定类的方法名称解析为 DkmClrMethodId。

位置约束:必须从监视器组件 (组件级别 100000) 中调用 API < 。

此 API 是在 Visual Studio 12 RTM (VS12RTM) 中引入的。

public:
 Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodId ResolveMethodName(System::String ^ MethodName, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^> ^ ParameterTypes);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId ResolveMethodName (string MethodName, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> ParameterTypes);
member this.ResolveMethodName : string * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> -> Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId
Public Function ResolveMethodName (MethodName As String, ParameterTypes As ReadOnlyCollection(Of DkmClrType)) As DkmClrMethodId

参数

MethodName
String

中方法的名称。

ParameterTypes
ReadOnlyCollection<DkmClrType>

[In,可选]参数类型的可选数组。

返回

DkmClrMethodId

弄描述方法的 DkmClrMethodId。

适用于