System.Runtime.InteropServices.Marshal.GetTypeInfoName Method

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

Syntax

[System.Obsolete]
public static string GetTypeInfoName (UCOMITypeInfo pTI)

Parameters

pTI
An object that represents an ITypeInfo pointer.

Returns

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

Remarks

You can also retrieve the name of the type represented by an ITypeInfo object by calling the UCOMITypeInfo.GetDocumentation(int, String@, String@, Int32@, String@) method and passing -1 for its first parameter.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0