Freigeben über


UCOMITypeInfo.GetContainingTypeLib-Methode

Ruft die Typbibliothek ab, in der die Typenbeschreibung und der Index in der Typbibliothek enthalten ist.

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

Syntax

'Declaration
Sub GetContainingTypeLib ( _
    <OutAttribute> ByRef ppTLB As UCOMITypeLib, _
    <OutAttribute> ByRef pIndex As Integer _
)
'Usage
Dim instance As UCOMITypeInfo
Dim ppTLB As UCOMITypeLib
Dim pIndex As Integer

instance.GetContainingTypeLib(ppTLB, pIndex)
void GetContainingTypeLib (
    out UCOMITypeLib ppTLB,
    out int pIndex
)
void GetContainingTypeLib (
    [OutAttribute] UCOMITypeLib^% ppTLB, 
    [OutAttribute] int% pIndex
)
void GetContainingTypeLib (
    /** @attribute OutAttribute() */ /** @ref */ UCOMITypeLib ppTLB, 
    /** @attribute OutAttribute() */ /** @ref */ int pIndex
)
JScript unterstützt die Übergabe von Werttypargumenten als Verweis nicht.

Parameter

  • ppTLB
    Bei erfolgreicher Rückgabe ein Verweis auf die enthaltende Typbibliothek.
  • pIndex
    Bei erfolgreicher Rückgabe ein Verweis auf den Index der Typenbeschreibung in der enthaltenden Typbibliothek.

Hinweise

Weitere Informationen über ITypeInfo::GetContainingTypeLib finden Sie in der MSDN Library.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

UCOMITypeInfo-Schnittstelle
UCOMITypeInfo-Member
System.Runtime.InteropServices-Namespace