Udostępnij za pośrednictwem


DkmClrModuleInstance.ResolveTypeName Method

Definition

Resolves a type name into a type. If the type is generic, the generic parameters will not be instantiated.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

public:
 Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ ResolveTypeName(System::String ^ TypeName, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^> ^ GenericParameters);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrType ResolveTypeName (string TypeName, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> GenericParameters);
public Microsoft.VisualStudio.Debugger.Clr.DkmClrType ResolveTypeName (string TypeName, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType>? GenericParameters);
member this.ResolveTypeName : string * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> -> Microsoft.VisualStudio.Debugger.Clr.DkmClrType
Public Function ResolveTypeName (TypeName As String, GenericParameters As ReadOnlyCollection(Of DkmClrType)) As DkmClrType

Parameters

TypeName
String

[In] The name of the type.

GenericParameters
ReadOnlyCollection<DkmClrType>

[In,Optional] If the type is generic, specifies the generic parameters for the type.

Returns

[Out] A DkmClrType describing the type.

Applies to