IDkmClrFullNameProvider.GetClrTypeName(DkmInspectionContext, DkmClrType, DkmClrCustomTypeInfo) Метод

Определение

При допустимом синтаксисе получите имя типа в форме, допустимой на языке. Этот метод предназначен для создания допустимых полных имен с возможностью экранирования или возврата значения 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

[Входные, необязательные] Сведения, предоставляемые компилятором выражений для идентификации сведений о внутреннем типе компилятора.

Возвращаемое значение

String

[Out, необязательно] Имя типа, если имя можно представить как допустимый синтаксис.

Применяется к