Método Marshal.GetTypeInfoName (UCOMITypeInfo)
Dica
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.
Observação: Esta API agora está obsoleta.
Recupera o nome do tipo representado por um objeto ITypeInfo.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (em mscorlib.dll)
Sintaxe
[SecurityCriticalAttribute]
[ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. https://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.",
false)]
public static string GetTypeInfoName(
UCOMITypeInfo pTI
)
public:
[SecurityCriticalAttribute]
[ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. https://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.",
false)]
static String^ GetTypeInfoName(
UCOMITypeInfo^ pTI
)
[<SecurityCriticalAttribute>]
[<ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. https://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.",
false)>]
static member GetTypeInfoName :
pTI:UCOMITypeInfo -> string
<SecurityCriticalAttribute>
<ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead. https://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.",
False)>
Public Shared Function GetTypeInfoName (
pTI As UCOMITypeInfo
) As String
Parâmetros
pTI
Type: System.Runtime.InteropServices.UCOMITypeInfoUm objeto que representa um ponteiro ITypeInfo.
Valor Retornado
Type: System.String
O nome do tipo para o qual o parâmetro pTI aponta.
Comentários
Você também pode recuperar o nome do tipo representado por um ITypeInfo objeto chamando o UCOMITypeInfo.GetDocumentation método e passando -1 para o primeiro parâmetro.
Segurança
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Informações de Versão
.NET Framework
Disponível desde 1.1
Confira Também
GetDocumentation
GetTypeInfoName Sobrecarga
Classe Marshal
Namespace System.Runtime.InteropServices
Retornar ao início