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

UCOMITypeInfo Interface

Note: This API is now obsolete.

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

[ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202", 
	false)]
[GuidAttribute("00020401-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMITypeInfo

The UCOMITypeInfo type exposes the following members.

  NameDescription
Public methodAddressOfMemberRetrieves the addresses of static functions or variables, such as those defined in a DLL.
Public methodCreateInstanceCreates a new instance of a type that describes a component class (coclass).
Public methodGetContainingTypeLibRetrieves the type library that contains this type description and its index within that type library.
Public methodGetDllEntryRetrieves a description or specification of an entry point for a function in a DLL.
Public methodGetDocumentationRetrieves the documentation string, the complete Help file name and path, and the context ID for the Help topic for a specified type description.
Public methodGetFuncDescRetrieves the System.Runtime.InteropServices.FUNCDESC structure that contains information about a specified function.
Public methodGetIDsOfNamesMaps between member names and member IDs, and parameter names and parameter IDs.
Public methodGetImplTypeFlagsRetrieves the System.Runtime.InteropServices.IMPLTYPEFLAGS value for one implemented interface or base interface in a type description.
Public methodGetMopsRetrieves marshaling information.
Public methodGetNamesRetrieves the variable with the specified member ID (or the name of the property or method and its parameters) that correspond to the specified function ID.
Public methodGetRefTypeInfoIf a type description references other type descriptions, it retrieves the referenced type descriptions.
Public methodGetRefTypeOfImplTypeIf a type description describes a COM class, it retrieves the type description of the implemented interface types.
Public methodGetTypeAttrRetrieves a System.Runtime.InteropServices.TYPEATTR structure that contains the attributes of the type description.
Public methodGetTypeCompRetrieves the ITypeComp interface for the type description, which enables a client compiler to bind to the type description's members.
Public methodGetVarDescRetrieves a VARDESC structure that describes the specified variable.
Public methodInvokeInvokes a method, or accesses a property of an object, that implements the interface described by the type description.
Public methodReleaseFuncDescReleases a System.Runtime.InteropServices.FUNCDESC previously returned by GetFuncDesc.
Public methodReleaseTypeAttrReleases a System.Runtime.InteropServices.TYPEATTR previously returned by GetTypeAttr.
Public methodReleaseVarDescReleases a VARDESC previously returned by UCOMITypeInfo.GetVarDesc.
Top

For additional information about ITypeInfo, see the MSDN Library.

.NET Framework

Supported in: 1.1
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2
Obsolete (compiler warning) in 4
Obsolete (compiler warning) in 3.5
Obsolete (compiler warning) in 3.5 SP1
Obsolete (compiler warning) in 3.0
Obsolete (compiler warning) in 3.0 SP1
Obsolete (compiler warning) in 3.0 SP2
Obsolete (compiler warning) in 2.0
Obsolete (compiler warning) in 2.0 SP1
Obsolete (compiler warning) in 2.0 SP2

.NET Framework Client Profile

Obsolete (compiler warning) in 4
Obsolete (compiler warning) in 3.5 SP1
Show:
© 2015 Microsoft