Marshal.GetTypeLibLcid Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기