Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ITypeInfo Interface

Provides the managed definition of the Component Automation ITypeInfo interface.

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

'Declaration
<GuidAttribute("00020401-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface ITypeInfo

The ITypeInfo type exposes the following members.

  NameDescription
Public methodSupported by Portable Class LibraryAddressOfMemberRetrieves the addresses of static functions or variables, such as those defined in a DLL.
Public methodSupported by Portable Class LibraryCreateInstanceCreates a new instance of a type that describes a component class (coclass).
Public methodSupported by Portable Class LibraryGetContainingTypeLibRetrieves the type library that contains this type description and its index within that type library.
Public methodSupported by Portable Class LibraryGetDllEntryRetrieves a description or specification of an entry point for a function in a DLL.
Public methodSupported by Portable Class LibraryGetDocumentationRetrieves the documentation string, the complete Help file name and path, and the context ID for the Help topic for a specified type description.
Public methodSupported by Portable Class LibraryGetFuncDescRetrieves the FUNCDESC structure that contains information about a specified function.
Public methodSupported by Portable Class LibraryGetIDsOfNamesMaps between member names and member IDs, and parameter names and parameter IDs.
Public methodSupported by Portable Class LibraryGetImplTypeFlagsRetrieves the IMPLTYPEFLAGS value for one implemented interface or base interface in a type description.
Public methodSupported by Portable Class LibraryGetMopsRetrieves marshaling information.
Public methodSupported by Portable Class LibraryGetNamesRetrieves 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.
Public methodSupported by Portable Class LibraryGetRefTypeInfoRetrieves the referenced type descriptions if a type description references other type descriptions.
Public methodSupported by Portable Class LibraryGetRefTypeOfImplTypeRetrieves the type description of the implemented interface types if a type description describes a COM class.
Public methodSupported by Portable Class LibraryGetTypeAttrRetrieves a TYPEATTR structure that contains the attributes of the type description.
Public methodSupported by Portable Class LibraryGetTypeCompRetrieves the ITypeComp interface for the type description, which enables a client compiler to bind to the type description's members.
Public methodSupported by Portable Class LibraryGetVarDescRetrieves a VARDESC structure that describes the specified variable.
Public methodSupported by Portable Class LibraryInvokeInvokes a method, or accesses a property of an object, that implements the interface described by the type description.
Public methodSupported by Portable Class LibraryReleaseFuncDescReleases a FUNCDESC structure previously returned by the GetFuncDesc method.
Public methodSupported by Portable Class LibraryReleaseTypeAttrReleases a TYPEATTR structure previously returned by the GetTypeAttr method.
Public methodSupported by Portable Class LibraryReleaseVarDescReleases a VARDESC structure previously returned by the GetVarDesc method.
Top

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1
Show:
© 2015 Microsoft