Export (0) Print
Expand All

ITypeInfo2 Interface

Provides the managed definition of the ITypeInfo2 interface.

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

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("00020412-0000-0000-C000-000000000046")]
public interface ITypeInfo2 : ITypeInfo

The ITypeInfo2 type exposes the following members.

  NameDescription
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsAddressOfMemberRetrieves the addresses of static functions or variables, such as those defined in a DLL.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsCreateInstanceCreates a new instance of a type that describes a component class (coclass).
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetAllCustDataGets all custom data items for the library.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetAllFuncCustDataGets all custom data from the specified function.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetAllImplTypeCustDataGets all custom data for the specified implementation type.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetAllParamCustDataGets all of the custom data for the specified function parameter.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetAllVarCustDataGets the variable for the custom data.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetContainingTypeLibRetrieves the type library that contains this type description and its index within that type library.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetCustDataGets the custom data.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetDllEntryRetrieves a description or specification of an entry point for a function in a DLL.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetDocumentationRetrieves 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 LibrarySupported in .NET for Windows Store appsGetDocumentation2Retrieves 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.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetFuncCustDataGets the custom data from the specified function.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetFuncDescRetrieves the FUNCDESC structure that contains information about a specified function.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetFuncIndexOfMemIdBinds to a specific member based on a known DISPID, where the member name is not known (for example, when binding to a default member).
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetIDsOfNamesMaps between member names and member IDs, and parameter names and parameter IDs.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetImplTypeCustDataGets the implementation type of the custom data.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetImplTypeFlagsRetrieves the IMPLTYPEFLAGS value for one implemented interface or base interface in a type description.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetMopsRetrieves marshaling information.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetNamesRetrieves 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 LibrarySupported in .NET for Windows Store appsGetParamCustDataGets the specified custom data parameter.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetRefTypeInfoRetrieves the referenced type descriptions, if a type description references other type descriptions.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetRefTypeOfImplTypeRetrieves the type description of the implemented interface types, if a type description describes a COM class.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetTypeAttrRetrieves a TYPEATTR structure that contains the attributes of the type description.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetTypeCompRetrieves 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 LibrarySupported in .NET for Windows Store appsGetTypeFlagsReturns the type flags without any allocations. This method returns a DWORD type flag, which expands the type flags without growing the TYPEATTR (type attribute).
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetTypeKindReturns the TYPEKIND enumeration quickly, without doing any allocations.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetVarCustDataGets the variable for the custom data.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetVarDescRetrieves a VARDESC structure that describes the specified variable.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetVarIndexOfMemIdBinds to a specific member based on a known DISPID, where the member name is not known (for example, when binding to a default member).
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsInvokeInvokes a method, or accesses a property of an object, that implements the interface described by the type description.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsReleaseFuncDescReleases a FUNCDESC structure previously returned by the GetFuncDesc method.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsReleaseTypeAttrReleases a TYPEATTR structure previously returned by the GetTypeAttr method.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsReleaseVarDescReleases a VARDESC structure previously returned by the GetVarDesc method.
Top

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, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

.NET for Windows Store apps

Supported in: Windows 8

Supported in: Windows Phone 8.1

Windows Phone 8.1, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft