ITypeInfo class com

This section describes ITypeInfo, an interface typically used for reading information about objects. For example, an object browser tool can use ITypeInfo to extract information about the characteristics and capabilities of objects from type libraries.

Inheritance

Constructors

ITypeInfo(Pointer<COMObject> ptr)
ITypeInfo.from(IUnknown interface)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
addressOfMember(int memid, int invKind, Pointer<Pointer<NativeType>> ppv) int
createInstance(Pointer<COMObject> pUnkOuter, Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObj) int
detach() → void
Detaches the object from the Finalizer.
inherited
getContainingTypeLib(Pointer<Pointer<COMObject>> ppTLib, Pointer<Uint32> pIndex) int
getDllEntry(int memid, int invKind, Pointer<Pointer<Utf16>> pBstrDllName, Pointer<Pointer<Utf16>> pBstrName, Pointer<Uint16> pwOrdinal) int
getDocumentation(int memid, Pointer<Pointer<Utf16>> pBstrName, Pointer<Pointer<Utf16>> pBstrDocString, Pointer<Uint32> pdwHelpContext, Pointer<Pointer<Utf16>> pBstrHelpFile) int
getFuncDesc(int index, Pointer<Pointer<FUNCDESC>> ppFuncDesc) int
getIDsOfNames(Pointer<Pointer<Utf16>> rgszNames, int cNames, Pointer<Int32> pMemId) int
getImplTypeFlags(int index, Pointer<Int32> pImplTypeFlags) int
getMops(int memid, Pointer<Pointer<Utf16>> pBstrMops) int
getNames(int memid, Pointer<Pointer<Utf16>> rgBstrNames, int cMaxNames, Pointer<Uint32> pcNames) int
getRefTypeInfo(int hRefType, Pointer<Pointer<COMObject>> ppTInfo) int
getRefTypeOfImplType(int index, Pointer<Uint32> pRefType) int
getTypeAttr(Pointer<Pointer<TYPEATTR>> ppTypeAttr) int
getTypeComp(Pointer<Pointer<COMObject>> ppTComp) int
getVarDesc(int index, Pointer<Pointer<VARDESC>> ppVarDesc) int
invoke(Pointer<NativeType> pvInstance, int memid, int wFlags, Pointer<DISPPARAMS> pDispParams, Pointer<VARIANT> pVarResult, Pointer<EXCEPINFO> pExcepInfo, Pointer<Uint32> puArgErr) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
release() int
Decrements the reference count for an interface on a COM object.
inherited
releaseFuncDesc(Pointer<FUNCDESC> pFuncDesc) → void
releaseTypeAttr(Pointer<TYPEATTR> pTypeAttr) → void
releaseVarDesc(Pointer<VARDESC> pVarDesc) → void
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited