Export (0) Print
Expand All

ITypeInfo2 interface

Used for reading information about objects. Can be cast to an ITypeInfo instead of using the calls QueryInterface and Release to allow quick opens and allocs. This only works for in-process cases.

Members

The ITypeInfo2 interface inherits from ITypeInfo. ITypeInfo2 also has these types of members:

Methods

The ITypeInfo2 interface has these methods.

MethodDescription
GetAllCustData

Gets all custom data items for the library.

GetAllFuncCustData

Gets all custom data from the specified function.

GetAllImplTypeCustData

Gets all custom data for the specified implementation type.

GetAllParamCustData

Gets all of the custom data for the specified function parameter.

GetAllVarCustData

Gets the variable for the custom data.

GetCustData

Gets the custom data.

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.

GetFuncCustData

Gets the custom data from the specified function.

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).

GetImplTypeCustData

Gets the custom data of the implementation type.

GetParamCustData

Gets the custom data of the specified parameter.

GetTypeFlags

Returns the type flags without any allocations. This returns a flag that expands the type flags without growing the TYPEATTR (type attribute).

GetTypeKind

Returns the TYPEKIND enumeration quickly, without doing any allocations.

GetVarCustData

Gets the custom data of the specified variable.

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).

 

Requirements

IDL

OaIdl.idl

See also

Type Description Interfaces and Functions

 

 

Community Additions

ADD
Show:
© 2015 Microsoft