ITypeLib2 インターフェイス

定義

ITypeLib2 インターフェイスのマネージド定義を提供します。

public interface class ITypeLib2 : System::Runtime::InteropServices::ComTypes::ITypeLib
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ITypeLib2 : System.Runtime.InteropServices.ComTypes.ITypeLib
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("00020411-0000-0000-C000-000000000046")]
public interface ITypeLib2 : System.Runtime.InteropServices.ComTypes.ITypeLib
public interface ITypeLib2 : System.Runtime.InteropServices.ComTypes.ITypeLib
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ITypeLib2 = interface
    interface ITypeLib
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("00020411-0000-0000-C000-000000000046")>]
type ITypeLib2 = interface
    interface ITypeLib
type ITypeLib2 = interface
    interface ITypeLib
Public Interface ITypeLib2
Implements ITypeLib
属性
実装

注釈

詳細については、 ITypeLib2 インターフェイスを参照してください。

ネイティブ コードの COM メソッドが HRESULT を返すと、共通言語ランタイムは例外をスローします。 詳細については、「 How to: Map HRESULTs and Exceptions」を参照してください。

メソッド

FindName(String, Int32, ITypeInfo[], Int32[], Int16)

タイプ ライブラリで型の説明を検索します。

GetAllCustData(IntPtr)

ライブラリのすべてのカスタム データ項目を取得します。

GetCustData(Guid, Object)

カスタム データを取得します。

GetDocumentation(Int32, String, String, Int32, String)

ヘルプ ファイルのライブラリ ヘルプ トピックのライブラリ ドキュメント文字列、完全なヘルプ ファイル名とパス、およびコンテキスト識別子を取得します。

GetDocumentation2(Int32, String, Int32, String)

ライブラリのドキュメントの文字列、完全なヘルプ ファイルの名前とパス、使用するローカリゼーション コンテキスト、およびヘルプ ファイル内のライブラリ ヘルプ トピック用のコンテキスト ID を取得します。

GetLibAttr(IntPtr)

ライブラリの属性を格納している構造体を取得します。

GetLibStatistics(IntPtr, Int32)

ハッシュ テーブルの効果的なサイズ変更に必要なタイプ ライブラリに関する統計情報を返します。

GetTypeComp(ITypeComp)

クライアント コンパイラがライブラリの型、変数、定数、およびグローバル関数をバインドできるようにします。

GetTypeInfo(Int32, ITypeInfo)

ライブラリ内の指定した型の説明を取得します。

GetTypeInfoCount()

タイプ ライブラリにある型の説明の数を返します。

GetTypeInfoOfGuid(Guid, ITypeInfo)

指定された GUID に対応するタイプ記述を取得します。

GetTypeInfoType(Int32, TYPEKIND)

型の説明の型を取得します。

IsName(String, Int32)

渡された文字列がライブラリで記述される型またはメンバーの名前を格納しているかどうかを示します。

ReleaseTLibAttr(IntPtr)

TYPELIBATTR メソッドから初めに取得した GetLibAttr(IntPtr) 構造体を解放します。

適用対象