IDkmClrFullNameProvider.GetClrTypeName 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果有效语法,则以语言中有效的格式获取类型名称。 此方法用于构造有效的全名,如果不存在有效的语法,则可以使用转义/返回 null。
public:
System::String ^ GetClrTypeName(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ clrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ customTypeInfo);
public:
Platform::String ^ GetClrTypeName(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ clrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ customTypeInfo);
std::wstring GetClrTypeName(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext const & inspectionContext, Microsoft::VisualStudio::Debugger::Clr::DkmClrType const & clrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo const & customTypeInfo);
public string GetClrTypeName (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, Microsoft.VisualStudio.Debugger.Clr.DkmClrType clrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo customTypeInfo);
abstract member GetClrTypeName : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * Microsoft.VisualStudio.Debugger.Clr.DkmClrType * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo -> string
Public Function GetClrTypeName (inspectionContext As DkmInspectionContext, clrType As DkmClrType, customTypeInfo As DkmClrCustomTypeInfo) As String
参数
- inspectionContext
- DkmInspectionContext
中要在执行检查操作时使用的选项和目标上下文。
- clrType
- DkmClrType
中要获取其名称的类型。
- customTypeInfo
- DkmClrCustomTypeInfo
[In,可选]表达式编译器提供的用于标识编译器内部类型信息的信息。
返回
[Out,Optional]如果名称可表示为有效语法,则为类型名称。