GetTypeInfoName Method (UCOMITypeInfo)
Collapse the table of content
Expand the table of content

Marshal.GetTypeInfoName Method (UCOMITypeInfo)

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.", 
public static string GetTypeInfoName(
	UCOMITypeInfo pTI


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
© 2015 Microsoft