Marshal.GetTypeLibLcid Method (ITypeLib)

 

Retrieves the LCID of a type library.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

[SecurityCriticalAttribute]
public static int GetTypeLibLcid(
	ITypeLib typelib
)

Parameters

typelib
Type: System.Runtime.InteropServices.ComTypes.ITypeLib

The type library whose LCID is to be retrieved.

Return Value

Type: System.Int32

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

SecurityCriticalAttribute

requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 2.0
Return to top
Show: