System.Runtime.InteropServices.Marshal.GetTypeInfoName Method

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

Syntax

public static string GetTypeInfoName (System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo)

Parameters

typeInfo
An object that represents an ITypeInfo pointer.

Returns

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

Remarks

You can also retrieve the name of the type represented by an ITypeInfo 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: 2.0.0.0, 4.0.0.0
Since: .NET 2.0