Provides the managed definition of the Component Automation ITypeInfo interface.
Assemblies: mscorlib (in mscorlib.dll)
System.Runtime.InteropServices (in System.Runtime.InteropServices.dll)
Thetype exposes the following members.
|AddressOfMember||Retrieves the addresses of static functions or variables, such as those defined in a DLL.|
|CreateInstance||Creates a new instance of a type that describes a component class (coclass).|
|GetContainingTypeLib||Retrieves the type library that contains this type description and its index within that type library.|
|GetDllEntry||Retrieves a description or specification of an entry point for a function in a DLL.|
|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.|
|GetFuncDesc||Retrieves the FUNCDESC structure that contains information about a specified function.|
|GetIDsOfNames||Maps between member names and member IDs, and parameter names and parameter IDs.|
|GetImplTypeFlags||Retrieves the IMPLTYPEFLAGS value for one implemented interface or base interface in a type description.|
|GetMops||Retrieves marshaling information.|
|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.|
|GetRefTypeInfo||Retrieves the referenced type descriptions if a type description references other type descriptions.|
|GetRefTypeOfImplType||Retrieves the type description of the implemented interface types if a type description describes a COM class.|
|GetTypeAttr||Retrieves a TYPEATTR structure that contains the attributes of the type description.|
|GetTypeComp||Retrieves the ITypeComp interface for the type description, which enables a client compiler to bind to the type description's members.|
|GetVarDesc||Retrieves a VARDESC structure that describes the specified variable.|
|Invoke||Invokes a method, or accesses a property of an object, that implements the interface described by the type description.|
|ReleaseFuncDesc||Releases a FUNCDESC structure previously returned by the GetFuncDesc method.|
|ReleaseTypeAttr||Releases a TYPEATTR structure previously returned by the GetTypeAttr method.|
|ReleaseVarDesc||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.