Marshal.GetTypeInfoName Method (UCOMITypeInfo)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Note: This API is now obsolete.

Retrieves the name of the type represented by an ITypeInfo object.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

[<ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead.",
static member GetTypeInfoName : 
        pTI:UCOMITypeInfo -> string


Type: System.Runtime.InteropServices.UCOMITypeInfo

An object that represents an ITypeInfo pointer.

Return Value

Type: System.String

The name of the type that the pTI parameter points to.

You can also retrieve the name of the type represented by an ITypeInfo object by calling the UCOMITypeInfo.GetDocumentation method and passing -1 for its first parameter.


requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 1.1
Return to top