Upraviť

Zdieľať cez


UCOMITypeLib Interface

Definition

Caution

Use System.Runtime.InteropServices.ComTypes.ITypeLib instead. http://go.microsoft.com/fwlink/?linkid=14202

Use ITypeLib instead.

public interface class UCOMITypeLib
[System.Runtime.InteropServices.Guid("00020402-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMITypeLib
[System.Runtime.InteropServices.Guid("00020402-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.ITypeLib instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMITypeLib
[<System.Runtime.InteropServices.Guid("00020402-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type UCOMITypeLib = interface
[<System.Runtime.InteropServices.Guid("00020402-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.ITypeLib instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type UCOMITypeLib = interface
Public Interface UCOMITypeLib
Attributes

Remarks

For additional information about the ITypeLib interface, see the MSDN Library.

Methods

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

Finds occurrences of a type description in a type library.

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

Retrieves the library's documentation string, the complete Help file name and path, and the context identifier for the library Help topic in the Help file.

GetLibAttr(IntPtr)

Retrieves the structure that contains the library's attributes.

GetTypeComp(UCOMITypeComp)

Enables a client compiler to bind to a library's types, variables, constants, and global functions.

GetTypeInfo(Int32, UCOMITypeInfo)

Retrieves the specified type description in the library.

GetTypeInfoCount()

Returns the number of type descriptions in the type library.

GetTypeInfoOfGuid(Guid, UCOMITypeInfo)

Retrieves the type description that corresponds to the specified GUID.

GetTypeInfoType(Int32, TYPEKIND)

Retrieves the type of a type description.

GetTypeInfoType(Int32, TYPEKIND)

Retrieves the type of a type description.

IsName(String, Int32)

Indicates whether a passed-in string contains the name of a type or member described in the library.

ReleaseTLibAttr(IntPtr)

Releases the TYPELIBATTR originally obtained from GetLibAttr(IntPtr).

Applies to