Método Marshal.GetTypeLibLcid (UCOMITypeLib)
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 LCID de uma biblioteca de tipos.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (em mscorlib.dll)
Sintaxe
[SecurityCriticalAttribute]
[ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeLibLcid(ITypeLib pTLB) instead. https://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.",
false)]
public static int GetTypeLibLcid(
UCOMITypeLib pTLB
)
public:
[SecurityCriticalAttribute]
[ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeLibLcid(ITypeLib pTLB) instead. https://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.",
false)]
static int GetTypeLibLcid(
UCOMITypeLib^ pTLB
)
[<SecurityCriticalAttribute>]
[<ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeLibLcid(ITypeLib pTLB) instead. https://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.",
false)>]
static member GetTypeLibLcid :
pTLB:UCOMITypeLib -> int
<SecurityCriticalAttribute>
<ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeLibLcid(ITypeLib pTLB) instead. https://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.",
False)>
Public Shared Function GetTypeLibLcid (
pTLB As UCOMITypeLib
) As Integer
Parâmetros
pTLB
Type: System.Runtime.InteropServices.UCOMITypeLibA biblioteca de tipos cuja LCID deve ser recuperada.
Valor Retornado
Type: System.Int32
O LCID da biblioteca de tipos para a qual o parâmetro pTLB aponta.
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
GetTypeLibLcid Sobrecarga
Classe Marshal
Namespace System.Runtime.InteropServices
Retornar ao início