語言

Marshal.GetTypeLibLcid 方法

定義

取得型別庫的 LCID。

多載

名稱 Description
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。

屬性

適用於