IDkmClrFormatter.GetTypeName(DkmInspectionContext, DkmClrType, DkmClrCustomTypeInfo, ReadOnlyCollection<String>) Метод

Определение

Возвращает строку имени типа, отображаемую в пользовательском интерфейсе для заданного Дкмклртипе. Этот метод всегда будет возвращать значение и использоваться в окнах проверки переменных.

public:
 System::String ^ GetTypeName(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionContext ^ inspectionContext, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ clrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ customTypeInfo, System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ formatSpecifiers);
public string GetTypeName (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, Microsoft.VisualStudio.Debugger.Clr.DkmClrType clrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo customTypeInfo, System.Collections.ObjectModel.ReadOnlyCollection<string> formatSpecifiers);
abstract member GetTypeName : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * Microsoft.VisualStudio.Debugger.Clr.DkmClrType * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo * System.Collections.ObjectModel.ReadOnlyCollection<string> -> string
Public Function GetTypeName (inspectionContext As DkmInspectionContext, clrType As DkmClrType, customTypeInfo As DkmClrCustomTypeInfo, formatSpecifiers As ReadOnlyCollection(Of String)) As String

Параметры

inspectionContext
DkmInspectionContext

Окне Параметры и целевой контекст, используемые при выполнении операции проверки.

clrType
DkmClrType

Окне Тип, для которого нужно получить имя.

customTypeInfo
DkmClrCustomTypeInfo

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

formatSpecifiers
ReadOnlyCollection<String>

[Входные, необязательные] Необязательный описатель формата для использования при форматировании этого результата.

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

String

Заполняет Строка имени типа.

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