Marshal.GetTypeInfoName Metodo

Definizione

Recupera il nome del tipo rappresentato da un oggetto ITypeInfo.

Overload

GetTypeInfoName(UCOMITypeInfo)
Obsoleta.
Obsoleta.

Recupera il nome del tipo rappresentato da un oggetto ITypeInfo.

GetTypeInfoName(ITypeInfo)

Recupera il nome del tipo rappresentato da un oggetto ITypeInfo.

GetTypeInfoName(UCOMITypeInfo)

Attenzione

Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.

Attenzione

Questa API è ora deprecata.

Recupera il nome del tipo rappresentato da un oggetto ITypeInfo.

public:
 static System::String ^ GetTypeInfoName(System::Runtime::InteropServices::UCOMITypeInfo ^ pTI);
public static string GetTypeInfoName (System.Runtime.InteropServices.UCOMITypeInfo pTI);
[System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)]
public static string GetTypeInfoName (System.Runtime.InteropServices.UCOMITypeInfo pTI);
[System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)]
[System.Security.SecurityCritical]
public static string GetTypeInfoName (System.Runtime.InteropServices.UCOMITypeInfo pTI);
[System.Obsolete]
public static string GetTypeInfoName (System.Runtime.InteropServices.UCOMITypeInfo pTI);
static member GetTypeInfoName : System.Runtime.InteropServices.UCOMITypeInfo -> string
[<System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)>]
static member GetTypeInfoName : System.Runtime.InteropServices.UCOMITypeInfo -> string
[<System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)>]
[<System.Security.SecurityCritical>]
static member GetTypeInfoName : System.Runtime.InteropServices.UCOMITypeInfo -> string
[<System.Obsolete>]
static member GetTypeInfoName : System.Runtime.InteropServices.UCOMITypeInfo -> string
Public Shared Function GetTypeInfoName (pTI As UCOMITypeInfo) As String

Parametri

pTI
UCOMITypeInfo

Oggetto che rappresenta un puntatore ITypeInfo.

Restituisce

String

Nome del tipo a cui punta il parametro pTI.

Attributi

Commenti

È anche possibile recuperare il nome del tipo rappresentato da un ITypeInfo oggetto chiamando il metodo e passando -1 per il UCOMITypeInfo.GetDocumentation primo parametro.

Vedi anche

Si applica a

GetTypeInfoName(ITypeInfo)

Recupera il nome del tipo rappresentato da un oggetto ITypeInfo.

public:
 static System::String ^ GetTypeInfoName(System::Runtime::InteropServices::ComTypes::ITypeInfo ^ typeInfo);
[System.Security.SecurityCritical]
public static string GetTypeInfoName (System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public static string GetTypeInfoName (System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo);
public static string GetTypeInfoName (System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo);
[<System.Security.SecurityCritical>]
static member GetTypeInfoName : System.Runtime.InteropServices.ComTypes.ITypeInfo -> string
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
static member GetTypeInfoName : System.Runtime.InteropServices.ComTypes.ITypeInfo -> string
static member GetTypeInfoName : System.Runtime.InteropServices.ComTypes.ITypeInfo -> string
Public Shared Function GetTypeInfoName (typeInfo As ITypeInfo) As String

Parametri

typeInfo
ITypeInfo

Oggetto che rappresenta un puntatore ITypeInfo.

Restituisce

String

Nome del tipo a cui punta il parametro typeInfo.

Attributi

Eccezioni

Il valore del parametro typeInfo è null.

Commenti

È anche possibile recuperare il nome del tipo rappresentato da un ITypeInfo chiamando il metodo e passando -1 per il UCOMITypeInfo.GetDocumentation primo parametro.

Vedi anche

Si applica a