IDkmClrFullNameProvider.GetClrValidIdentifier 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
以语言中的有效格式获取标识符。
public:
System::String ^ GetClrValidIdentifier(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, System::String ^ identifier);
public:
Platform::String ^ GetClrValidIdentifier(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Platform::String ^ identifier);
std::wstring GetClrValidIdentifier(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext const & inspectionContext, std::wstring const & identifier);
public string GetClrValidIdentifier (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, string identifier);
abstract member GetClrValidIdentifier : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * string -> string
Public Function GetClrValidIdentifier (inspectionContext As DkmInspectionContext, identifier As String) As String
参数
- inspectionContext
- DkmInspectionContext
中要在执行检查操作时使用的选项和目标上下文。
- identifier
- String
中要测试的字符串是否有效。
返回
[Out,Optional]格式为的标识符在给定语言中有效; 如果不能将其表示为有效标识符,则为 null。