ITypeInfo2 Interface
Provides the managed definition of the ITypeInfo2 interface.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | AddressOfMember(Int32, INVOKEKIND, IntPtr%) | Retrieves the addresses of static functions or variables, such as those defined in a DLL. |
![]() | CreateInstance(Object^, Guid%, Object^%) | Creates a new instance of a type that describes a component class (coclass). |
![]() | GetAllCustData(IntPtr) | Gets all custom data items for the library. |
![]() | GetAllFuncCustData(Int32, IntPtr) | Gets all custom data from the specified function. |
![]() | GetAllImplTypeCustData(Int32, IntPtr) | Gets all custom data for the specified implementation type. |
![]() | GetAllParamCustData(Int32, Int32, IntPtr) | Gets all of the custom data for the specified function parameter. |
![]() | GetAllVarCustData(Int32, IntPtr) | Gets the variable for the custom data. |
![]() | GetContainingTypeLib(ITypeLib^%, Int32%) | Retrieves the type library that contains this type description and its index within that type library. |
![]() | GetCustData(Guid%, Object^%) | Gets the custom data. |
![]() | GetDllEntry(Int32, INVOKEKIND, IntPtr, IntPtr, IntPtr) | Retrieves a description or specification of an entry point for a function in a DLL. |
![]() | GetDocumentation(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. |
![]() | GetDocumentation2(Int32, String^%, Int32%, String^%) | 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. |
![]() | GetFuncCustData(Int32, Guid%, Object^%) | Gets the custom data from the specified function. |
![]() | GetFuncDesc(Int32, IntPtr%) | Retrieves the FUNCDESC structure that contains information about a specified function. |
![]() | GetFuncIndexOfMemId(Int32, INVOKEKIND, Int32%) | 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). |
![]() | GetIDsOfNames(array<String^>^, Int32, array<Int32>^) | Maps between member names and member IDs, and parameter names and parameter IDs. |
![]() | GetImplTypeCustData(Int32, Guid%, Object^%) | Gets the implementation type of the custom data. |
![]() | GetImplTypeFlags(Int32, IMPLTYPEFLAGS%) | Retrieves the IMPLTYPEFLAGS value for one implemented interface or base interface in a type description. |
![]() | GetMops(Int32, String^%) | Retrieves marshaling information. |
![]() | GetNames(Int32, array<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. |
![]() | GetParamCustData(Int32, Int32, Guid%, Object^%) | Gets the specified custom data parameter. |
![]() | GetRefTypeInfo(Int32, ITypeInfo^%) | Retrieves the referenced type descriptions, if a type description references other type descriptions. |
![]() | GetRefTypeOfImplType(Int32, Int32%) | Retrieves the type description of the implemented interface types, if a type description describes a COM class. |
![]() | GetTypeAttr(IntPtr%) | Retrieves a TYPEATTR structure that contains the attributes of the type description. |
![]() | GetTypeComp(ITypeComp^%) | Retrieves the ITypeComp interface for the type description, which enables a client compiler to bind to the type description's members. |
![]() | GetTypeFlags(Int32%) | Returns the type flags without any allocations. This method returns a DWORD type flag, which expands the type flags without growing the TYPEATTR (type attribute). |
![]() | GetTypeKind(TYPEKIND%) | Returns the TYPEKIND enumeration quickly, without doing any allocations. |
![]() | GetVarCustData(Int32, Guid%, Object^%) | Gets the variable for the custom data. |
![]() | GetVarDesc(Int32, IntPtr%) | Retrieves a VARDESC structure that describes the specified variable. |
![]() | GetVarIndexOfMemId(Int32, Int32%) | 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). |
![]() | Invoke(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. |
![]() | ReleaseFuncDesc(IntPtr) | Releases a FUNCDESC structure previously returned by the GetFuncDesc method. |
![]() | ReleaseTypeAttr(IntPtr) | Releases a TYPEATTR structure previously returned by the GetTypeAttr method. |
![]() | ReleaseVarDesc(IntPtr) | Releases a VARDESC structure previously returned by the GetVarDesc method. |
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.
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
