This documentation is archived and is not being maintained.

ITypeInfo2 Methods

The ITypeInfo2 type exposes the following members.

  NameDescription
Public method AddressOfMember Retrieves the addresses of static functions or variables, such as those defined in a DLL. (Inherited from ITypeInfo.)
Public method CreateInstance Creates a new instance of a type that describes a component class (coclass). (Inherited from ITypeInfo.)
Public method GetAllCustData Gets all custom data items for the library.
Public method GetAllFuncCustData Gets all custom data from the specified function.
Public method GetAllImplTypeCustData Gets all custom data for the specified implementation type.
Public method GetAllParamCustData Gets all of the custom data for the specified function parameter.
Public method GetAllVarCustData Gets the variable for the custom data.
Public method GetContainingTypeLib Retrieves the type library that contains this type description and its index within that type library. (Inherited from ITypeInfo.)
Public method GetCustData Gets the custom data.
Public method GetDllEntry Retrieves a description or specification of an entry point for a function in a DLL. (Inherited from ITypeInfo.)
Public method GetDocumentation Retrieves the documentation string, the complete Help file name and path, and the context ID for the Help topic for a specified type description. (Inherited from ITypeInfo.)
Public method GetDocumentation2 Retrieves the documentation string, the complete Help file name and path, the localization context to use, and the context ID for the library Help topic in the Help file.
Public method GetFuncCustData Gets the custom data from the specified function.
Public method GetFuncDesc Retrieves the FUNCDESC structure that contains information about a specified function. (Inherited from ITypeInfo.)
Public method GetFuncIndexOfMemId Binds to a specific member based on a known DISPID, where the member name is not known (for example, when binding to a default member).
Public method GetIDsOfNames Maps between member names and member IDs, and parameter names and parameter IDs. (Inherited from ITypeInfo.)
Public method GetImplTypeCustData Gets the implementation type of the custom data.
Public method GetImplTypeFlags Retrieves the IMPLTYPEFLAGS value for one implemented interface or base interface in a type description. (Inherited from ITypeInfo.)
Public method GetMops Retrieves marshaling information. (Inherited from ITypeInfo.)
Public method GetNames Retrieves the variable with the specified member ID (or the name of the property or method and its parameters) that corresponds to the specified function ID. (Inherited from ITypeInfo.)
Public method GetParamCustData Gets the specified custom data parameter.
Public method GetRefTypeInfo Retrieves the referenced type descriptions if a type description references other type descriptions. (Inherited from ITypeInfo.)
Public method GetRefTypeOfImplType Retrieves the type description of the implemented interface types if a type description describes a COM class. (Inherited from ITypeInfo.)
Public method GetTypeAttr Retrieves a TYPEATTR structure that contains the attributes of the type description. (Inherited from ITypeInfo.)
Public method GetTypeComp Retrieves the ITypeComp interface for the type description, which enables a client compiler to bind to the type description's members. (Inherited from ITypeInfo.)
Public method GetTypeFlags Returns the type flags without any allocations. This method returns a DWORD type flag, which expands the type flags without growing the TYPEATTR (type attribute).
Public method GetTypeKind Returns the TYPEKIND enumeration quickly, without doing any allocations.
Public method GetVarCustData Gets the variable for the custom data.
Public method GetVarDesc Retrieves a VARDESC structure that describes the specified variable. (Inherited from ITypeInfo.)
Public method GetVarIndexOfMemId Binds to a specific member based on a known DISPID, where the member name is not known (for example, when binding to a default member).
Public method Invoke Invokes a method, or accesses a property of an object, that implements the interface described by the type description. (Inherited from ITypeInfo.)
Public method ReleaseFuncDesc Releases a FUNCDESC structure previously returned by the GetFuncDesc method. (Inherited from ITypeInfo.)
Public method ReleaseTypeAttr Releases a TYPEATTR structure previously returned by the GetTypeAttr method. (Inherited from ITypeInfo.)
Public method ReleaseVarDesc Releases a VARDESC structure previously returned by the GetVarDesc method. (Inherited from ITypeInfo.)
Top
Show: