Windows apps
Collapse the table of content
Expand the table of content

ITypeInfo Interface


Provides the managed definition of the Component Automation ITypeInfo interface.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

public interface ITypeInfo

System_CAPS_pubmethodAddressOfMember(Int32, INVOKEKIND, IntPtr)

Retrieves the addresses of static functions or variables, such as those defined in a DLL.

System_CAPS_pubmethodCreateInstance(Object, Guid, Object)

Creates a new instance of a type that describes a component class (coclass).

System_CAPS_pubmethodGetContainingTypeLib(ITypeLib, Int32)

Retrieves the type library that contains this type description and its index within that type library.

System_CAPS_pubmethodGetDllEntry(Int32, INVOKEKIND, IntPtr, IntPtr, IntPtr)

Retrieves a description or specification of an entry point for a function in a DLL.

System_CAPS_pubmethodGetDocumentation(Int32, String, String, Int32, String)

Retrieves the documentation string, the complete Help file name and path, and the context ID for the Help topic for a specified type description.

System_CAPS_pubmethodGetFuncDesc(Int32, IntPtr)

Retrieves the FUNCDESC structure that contains information about a specified function.

System_CAPS_pubmethodGetIDsOfNames(String[], Int32, Int32[])

Maps between member names and member IDs, and parameter names and parameter IDs.

System_CAPS_pubmethodGetImplTypeFlags(Int32, IMPLTYPEFLAGS)

Retrieves the IMPLTYPEFLAGS value for one implemented interface or base interface in a type description.

System_CAPS_pubmethodGetMops(Int32, String)

Retrieves marshaling information.

System_CAPS_pubmethodGetNames(Int32, String[], Int32, Int32)

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.

System_CAPS_pubmethodGetRefTypeInfo(Int32, ITypeInfo)

Retrieves the referenced type descriptions if a type description references other type descriptions.

System_CAPS_pubmethodGetRefTypeOfImplType(Int32, Int32)

Retrieves the type description of the implemented interface types if a type description describes a COM class.


Retrieves a TYPEATTR structure that contains the attributes of the type description.


Retrieves the ITypeComp interface for the type description, which enables a client compiler to bind to the type description's members.

System_CAPS_pubmethodGetVarDesc(Int32, IntPtr)

Retrieves a VARDESC structure that describes the specified variable.

System_CAPS_pubmethodInvoke(Object, Int32, Int16, DISPPARAMS, IntPtr, IntPtr, Int32)

Invokes a method, or accesses a property of an object, that implements the interface described by the type description.


Releases a FUNCDESC structure previously returned by the GetFuncDesc method.


Releases a TYPEATTR structure previously returned by the GetTypeAttr method.


Releases a VARDESC structure previously returned by the GetVarDesc method.

For additional information about ITypeInfo, see the MSDN Library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
© 2016 Microsoft