Marshal.GetTypeInfoName Method (ITypeInfo)
Retrieves the name of the type represented by an ITypeInfo object.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Shared Function GetTypeInfoName ( _ typeInfo As ITypeInfo _ ) As String
- Type: System.Runtime.InteropServices.ComTypes.ITypeInfo
An object that represents an ITypeInfo pointer.
Return ValueType: System.String
The name of the type that the typeInfo parameter points to.
You can also retrieve the name of the type represented by an ITypeInfo 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.