Επεξεργασία

Κοινή χρήση μέσω


Marshal.GetTypeLibLcid Method

Definition

Retrieves the LCID of a type library.

Overloads

GetTypeLibLcid(ITypeLib)

Retrieves the LCID of a type library.

GetTypeLibLcid(UCOMITypeLib)
Obsolete.

Retrieves the LCID of a type library.

GetTypeLibLcid(ITypeLib)

Retrieves the LCID of a type library.

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

Parameters

typelib
ITypeLib

The type library whose LCID is to be retrieved.

Returns

The LCID of the type library that the typelib parameter points to.

Attributes

Applies to

GetTypeLibLcid(UCOMITypeLib)

Caution

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

Retrieves the LCID of a type library.

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

Parameters

pTLB
UCOMITypeLib

The type library whose LCID is to be retrieved.

Returns

The LCID of the type library that the pTLB parameter points to.

Attributes

Applies to