Marshal.GetTypeInfoName Método

Definición

Recupera el nombre del tipo representado por un objeto ITypeInfo.

Sobrecargas

GetTypeInfoName(UCOMITypeInfo)
Obsoleto.
Obsoleto.

Recupera el nombre del tipo representado por un objeto ITypeInfo.

GetTypeInfoName(ITypeInfo)

Recupera el nombre del tipo representado por un objeto ITypeInfo.

GetTypeInfoName(UCOMITypeInfo)

Precaución

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

Precaución

Esta API ya está en desuso.

Recupera el nombre del tipo representado por un objeto 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

Parámetros

pTI
UCOMITypeInfo

Objeto que representa un puntero ITypeInfo.

Devoluciones

String

Nombre del tipo al que apunta el parámetro pTI.

Atributos

Comentarios

También puede recuperar el nombre del tipo representado por un ITypeInfo objeto llamando al UCOMITypeInfo.GetDocumentation método y pasando -1 para su primer parámetro.

Consulte también

Se aplica a

GetTypeInfoName(ITypeInfo)

Recupera el nombre del tipo representado por un objeto 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

Parámetros

typeInfo
ITypeInfo

Objeto que representa un puntero ITypeInfo.

Devoluciones

String

Nombre del tipo al que apunta el parámetro typeInfo.

Atributos

Excepciones

El parámetro typeInfo es null.

Comentarios

También puede recuperar el nombre del tipo representado por un ITypeInfo llamando al UCOMITypeInfo.GetDocumentation método y pasando -1 para su primer parámetro.

Consulte también

Se aplica a