ITypeMapProvider.GetCanonicalNameForType Method

Returns the canonical name that corresponds to the specified host type.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)

Syntax

'Declaration
Function GetCanonicalNameForType ( _
    type As Type _
) As String
'Usage
Dim instance As ITypeMapProvider
Dim type As Type
Dim returnValue As String

returnValue = instance.GetCanonicalNameForType(type)
string GetCanonicalNameForType(
    Type type
)

Parameters

Return Value

Type: System.String
The canonical name for the specified host type.

Remarks

The canonical name is a string representation of a type that uniquely identifies that type. The Proxygen tool generates canonical names in the format "<Namespace>, <ClassName>" for managed hosts, or in the format "<TypeLibName>, <TypeName>" for COM hosts. However, any format may be used in the host integration code as long as the canonical name uniquely identifies a type.

See Also

Reference

ITypeMapProvider Interface

ITypeMapProvider Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace