Marshal::GetTypeInfoName Method (ITypeInfo^)
.NET Framework (current version)
Retrieves the name of the type represented by an ITypeInfo object.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- typeInfo
-
Type:
System.Runtime.InteropServices.ComTypes::ITypeInfo^
An object that represents an ITypeInfo pointer.
| Exception | Condition |
|---|---|
| ArgumentNullException | The typeInfo parameter is null. |
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.
SecurityCriticalAttribute
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: