ITypeInfo2 interface (oaidl.h)

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.

Inheritance

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

Methods

The ITypeInfo2 interface has these methods.

 
ITypeInfo2::GetAllCustData

Gets all custom data items for the library. (ITypeInfo2.GetAllCustData)
ITypeInfo2::GetAllFuncCustData

Gets all custom data from the specified function.
ITypeInfo2::GetAllImplTypeCustData

Gets all custom data for the specified implementation type.
ITypeInfo2::GetAllParamCustData

Gets all of the custom data for the specified function parameter.
ITypeInfo2::GetAllVarCustData

Gets the variable for the custom data.
ITypeInfo2::GetCustData

Gets the custom data. (ITypeInfo2.GetCustData)
ITypeInfo2::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.
ITypeInfo2::GetFuncCustData

Gets the custom data from the specified function.
ITypeInfo2::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). (ITypeInfo2.GetFuncIndexOfMemId)
ITypeInfo2::GetImplTypeCustData

Gets the custom data of the implementation type.
ITypeInfo2::GetParamCustData

Gets the custom data of the specified parameter.
ITypeInfo2::GetTypeFlags

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

Returns the TYPEKIND enumeration quickly, without doing any allocations.
ITypeInfo2::GetVarCustData

Gets the custom data of the specified variable.
ITypeInfo2::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). (ITypeInfo2.GetVarIndexOfMemId)

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

Type Description Interfaces and Functions