Marshal.GetTypeLibLcid 方法

定義

擷取類型程式庫的 LCID。

多載

GetTypeLibLcid(ITypeLib)

擷取類型程式庫的 LCID。

GetTypeLibLcid(UCOMITypeLib)
已淘汰.

擷取類型程式庫的 LCID。

GetTypeLibLcid(ITypeLib)

擷取類型程式庫的 LCID。

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

參數

typelib
ITypeLib

要擷取其 LCID 的類型程式庫。

傳回

typelib 參數指向的類型程式庫的 LCID。

屬性

適用於

GetTypeLibLcid(UCOMITypeLib)

警告

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

擷取類型程式庫的 LCID。

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

參數

pTLB
UCOMITypeLib

要擷取其 LCID 的類型程式庫。

傳回

pTLB 參數指向的類型程式庫的 LCID。

屬性

適用於