Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
[SecurityCriticalAttribute]
[ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", 
	false)]
static String^ GetTypeInfoName(
	UCOMITypeInfo^ pTI
)

Parameters

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.

SecurityCriticalAttribute

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
Show:
© 2017 Microsoft