UCOMITypeInfo 接口

定义

注意

Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202

注意

现已弃用此 API。

请改用 ITypeInfo

public interface class UCOMITypeInfo
[System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMITypeInfo
[System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMITypeInfo
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete]
[System.Runtime.InteropServices.Guid("00020401-0000-0000-c000-000000000046")]
public interface UCOMITypeInfo
[<System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type UCOMITypeInfo = interface
[<System.Runtime.InteropServices.Guid("00020401-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type UCOMITypeInfo = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete>]
[<System.Runtime.InteropServices.Guid("00020401-0000-0000-c000-000000000046")>]
type UCOMITypeInfo = interface
Public Interface UCOMITypeInfo
属性

注解

有关的其他信息 ITypeInfo ,请参阅 MSDN library。

方法

AddressOfMember(Int32, INVOKEKIND, IntPtr)

检索静态函数或变量(如那些在 DLL 中定义的静态函数或变量)的地址。

CreateInstance(Object, Guid, Object)

创建描述组件类 (coclass) 的类型的新实例。

GetContainingTypeLib(UCOMITypeLib, Int32)

检索类型库,该类型库包含此类型说明和它在该类型库中的索引。

GetDllEntry(Int32, INVOKEKIND, String, String, Int16)

检索 DLL 中函数的入口点的说明或规范。

GetDocumentation(Int32, String, String, Int32, String)

从文档字符串、完整的帮助文件名和路径以及帮助主题的上下文 ID 中检索指定的类型说明。

GetFuncDesc(Int32, IntPtr)

检索包含有关指定函数的信息的 FUNCDESC 结构。

GetIDsOfNames(String[], Int32, Int32[])

在成员名和成员 ID 之间以及参数名和参数 ID 之间映射。

GetImplTypeFlags(Int32, Int32)

在类型说明中检索某个已实现的接口或基接口的 IMPLTYPEFLAGS 值。

GetMops(Int32, String)

检索封送处理信息。

GetNames(Int32, String[], Int32, Int32)

检索具有与指定函数 ID 相对应的指定成员 ID(或者属性或方法的名称及其参数)的变量。

GetRefTypeInfo(Int32, UCOMITypeInfo)

如果某类型说明引用其他类型说明,则它将检索被引用的类型说明。

GetRefTypeOfImplType(Int32, Int32)

如果类型说明描述 COM 类,则它将检索已实现的接口类型的类型说明。

GetTypeAttr(IntPtr)

检索包含类型说明的特性的 TYPEATTR 结构。

GetTypeComp(UCOMITypeComp)

检索类型说明的 ITypeComp 接口,此接口使客户端编译器可以绑定到类型说明的成员。

GetVarDesc(Int32, IntPtr)

检索描述指定变量的 VARDESC 结构。

Invoke(Object, Int32, Int16, DISPPARAMS, Object, EXCEPINFO, Int32)

调用对象的方法或访问对象的属性,该方法或属性实现由类型说明描述的接口。

ReleaseFuncDesc(IntPtr)

释放先前由 GetFuncDesc(Int32, IntPtr) 返回的 FUNCDESC

ReleaseTypeAttr(IntPtr)

释放先前由 GetTypeAttr(IntPtr) 返回的 TYPEATTR

ReleaseVarDesc(IntPtr)

释放先前由 GetVarDesc(Int32, IntPtr) 返回的 VARDESC

适用于