IDkmClrFullNameProvider.GetClrTypeName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the type name in a form valid in the language, if valid syntax. This method is for constructing valid full names with the ability to escape/return null if there is not a valid syntax.
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);
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
Parameters
- inspectionContext
- DkmInspectionContext
[In] Options and target context to use while performing the inspection operation.
- clrType
- DkmClrType
[In] The type to get the name for.
- customTypeInfo
- DkmClrCustomTypeInfo
[In,Optional] The information provided by the expression compiler for identifying compiler intrinsic type information.
Returns
[Out,Optional] The type name if the name can be represented as valid syntax.