DkmInspectionContext.GetClrTypeName(DkmClrType, DkmClrCustomTypeInfo) Method
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.
Location constraint: API must be called from a Monitor component (component level < 100,000).
This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).
public:
System::String ^ GetClrTypeName(Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ ClrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ CustomTypeInfo);
public:
Platform::String ^ GetClrTypeName(Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ ClrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo ^ CustomTypeInfo);
std::wstring GetClrTypeName(Microsoft::VisualStudio::Debugger::Clr::DkmClrType const & ClrType, Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmClrCustomTypeInfo const & CustomTypeInfo);
public string GetClrTypeName(Microsoft.VisualStudio.Debugger.Clr.DkmClrType ClrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo CustomTypeInfo);
public string? GetClrTypeName(Microsoft.VisualStudio.Debugger.Clr.DkmClrType ClrType, Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo? CustomTypeInfo);
member this.GetClrTypeName : Microsoft.VisualStudio.Debugger.Clr.DkmClrType * Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrCustomTypeInfo -> string
Public Function GetClrTypeName (ClrType As DkmClrType, CustomTypeInfo As DkmClrCustomTypeInfo) As String
- 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.
[Out,Optional] The type name if the name can be represented as valid syntax.
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |