Marshal.GetTypeLibLcid-Methode: (UCOMITypeLib)

 

Veröffentlicht: Oktober 2016

Hinweis: Diese API ist jetzt veraltet.

Ruft die LCID einer Typbibliothek ab.

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

Syntax

[SecurityCriticalAttribute]
[ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeLibLcid(ITypeLib pTLB) instead. https://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", 
    false)]
public static int GetTypeLibLcid(
    UCOMITypeLib pTLB
)
public:
[SecurityCriticalAttribute]
[ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeLibLcid(ITypeLib pTLB) instead. https://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", 
    false)]
static int GetTypeLibLcid(
    UCOMITypeLib^ pTLB
)
[<SecurityCriticalAttribute>]
[<ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeLibLcid(ITypeLib pTLB) instead. https://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.",
    false)>]
static member GetTypeLibLcid : 
        pTLB:UCOMITypeLib -> int
<SecurityCriticalAttribute>
<ObsoleteAttribute("Use System.Runtime.InteropServices.Marshal.GetTypeLibLcid(ITypeLib pTLB) instead. https://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.",
    False)>
Public Shared Function GetTypeLibLcid (
    pTLB As UCOMITypeLib
) As Integer

Parameter

Rückgabewert

Type: System.Int32

Die LCID der Typbibliothek, auf die der pTLB-Parameter zeigt.

Sicherheit

SecurityCriticalAttribute

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

Versionsinformationen

.NET Framework
Verfügbar seit 1.1

Siehe auch

GetTypeLibLcid Überladen
Marshal-Klasse
System.Runtime.InteropServices-Namespace

Zurück zum Anfang