Partager via


Marshal.GetTypeLibLcid Méthode

Définition

Récupère le LCID d'une bibliothèque de types.

Surcharges

GetTypeLibLcid(ITypeLib)

Récupère le LCID d'une bibliothèque de types.

GetTypeLibLcid(UCOMITypeLib)
Obsolète.

Récupère le LCID d'une bibliothèque de types.

GetTypeLibLcid(ITypeLib)

Récupère le LCID d'une bibliothèque de types.

public:
 static int GetTypeLibLcid(System::Runtime::InteropServices::ComTypes::ITypeLib ^ typelib);
public static int GetTypeLibLcid (System.Runtime.InteropServices.ComTypes.ITypeLib typelib);
[System.Security.SecurityCritical]
public static int GetTypeLibLcid (System.Runtime.InteropServices.ComTypes.ITypeLib typelib);
static member GetTypeLibLcid : System.Runtime.InteropServices.ComTypes.ITypeLib -> int
[<System.Security.SecurityCritical>]
static member GetTypeLibLcid : System.Runtime.InteropServices.ComTypes.ITypeLib -> int
Public Shared Function GetTypeLibLcid (typelib As ITypeLib) As Integer

Paramètres

typelib
ITypeLib

Bibliothèque de types où LCID doit être récupéré.

Retours

LCID de la bibliothèque de types vers laquelle pointe le paramètre typelib.

Attributs

S’applique à

GetTypeLibLcid(UCOMITypeLib)

Attention

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

Récupère le LCID d'une bibliothèque de types.

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

Paramètres

pTLB
UCOMITypeLib

Bibliothèque de types où LCID doit être récupéré.

Retours

LCID de la bibliothèque de types vers laquelle pointe le paramètre pTLB.

Attributs

S’applique à