_Type 接口

定义

重要

此 API 不符合 CLS。

向非托管代码公开 Type 类的公共成员。Exposes the public members of the Type class to the unmanaged code.

public interface class _Type
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("BCA8B44D-AAD6-3A86-8AB7-03349F4F2DA2")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _Type
type _Type = interface
Public Interface _Type
派生
属性

注解

此接口用于从非托管代码访问托管类,不应从托管代码调用。This interface is for access to managed classes from unmanaged code and should not be called from managed code.

此接口保留可由非托管 COM System.Type对象访问的类成员的 vtable 顺序。This interface preserves the vtable order of the System.Type class members that can be accessed by unmanaged COM objects.

属性

Assembly

为 COM 对象提供对 Assembly 属性的与版本无关的访问。Provides COM objects with version-independent access to the Assembly property.

AssemblyQualifiedName

为 COM 对象提供对 AssemblyQualifiedName 属性的与版本无关的访问。Provides COM objects with version-independent access to the AssemblyQualifiedName property.

Attributes

为 COM 对象提供对 Attributes 属性的与版本无关的访问。Provides COM objects with version-independent access to the Attributes property.

BaseType

为 COM 对象提供对 BaseType 属性的与版本无关的访问。Provides COM objects with version-independent access to the BaseType property.

DeclaringType

为 COM 对象提供对 DeclaringType 属性的与版本无关的访问。Provides COM objects with version-independent access to the DeclaringType property.

FullName

为 COM 对象提供对 FullName 属性的与版本无关的访问。Provides COM objects with version-independent access to the FullName property.

GUID

为 COM 对象提供对 GUID 属性的与版本无关的访问。Provides COM objects with version-independent access to the GUID property.

HasElementType

为 COM 对象提供对 HasElementType 属性的与版本无关的访问。Provides COM objects with version-independent access to the HasElementType property.

IsAbstract

为 COM 对象提供对 IsAbstract 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsAbstract property.

IsAnsiClass

为 COM 对象提供对 IsAnsiClass 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsAnsiClass property.

IsArray

为 COM 对象提供对 IsArray 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsArray property.

IsAutoClass

为 COM 对象提供对 IsAutoClass 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsAutoClass property.

IsAutoLayout

为 COM 对象提供对 IsAutoLayout 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsAutoLayout property.

IsByRef

为 COM 对象提供对 IsByRef 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsByRef property.

IsClass

为 COM 对象提供对 IsClass 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsClass property.

IsCOMObject

为 COM 对象提供对 IsCOMObject 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsCOMObject property.

IsContextful

为 COM 对象提供对 IsContextful 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsContextful property.

IsEnum

为 COM 对象提供对 IsEnum 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsEnum property.

IsExplicitLayout

为 COM 对象提供对 IsExplicitLayout 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsExplicitLayout property.

IsImport

为 COM 对象提供对 IsImport 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsImport property.

IsInterface

为 COM 对象提供对 IsInterface 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsInterface property.

IsLayoutSequential

为 COM 对象提供对 IsLayoutSequential 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsLayoutSequential property.

IsMarshalByRef

为 COM 对象提供对 IsMarshalByRef 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsMarshalByRef property.

IsNestedAssembly

为 COM 对象提供对 IsNestedAssembly 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsNestedAssembly property.

IsNestedFamANDAssem

为 COM 对象提供对 IsNestedFamANDAssem 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsNestedFamANDAssem property.

IsNestedFamily

为 COM 对象提供对 IsNestedFamily 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsNestedFamily property.

IsNestedFamORAssem

为 COM 对象提供对 IsNestedFamORAssem 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsNestedFamORAssem property.

IsNestedPrivate

为 COM 对象提供对 IsNestedPrivate 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsNestedPrivate property.

IsNestedPublic

为 COM 对象提供对 IsNestedPublic 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsNestedPublic property.

IsNotPublic

为 COM 对象提供对 IsNotPublic 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsNotPublic property.

IsPointer

为 COM 对象提供对 IsPointer 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsPointer property.

IsPrimitive

为 COM 对象提供对 IsPrimitive 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsPrimitive property.

IsPublic

为 COM 对象提供对 IsPublic 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsPublic property.

IsSealed

为 COM 对象提供对 IsSealed 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsSealed property.

IsSerializable

为 COM 对象提供对 IsSerializable 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsSerializable property.

IsSpecialName

为 COM 对象提供对 IsSpecialName 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsSpecialName property.

IsUnicodeClass

为 COM 对象提供对 IsUnicodeClass 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsUnicodeClass property.

IsValueType

为 COM 对象提供对 IsValueType 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsValueType property.

MemberType

为 COM 对象提供对 MemberType 属性的与版本无关的访问。Provides COM objects with version-independent access to the MemberType property.

Module

为 COM 对象提供对 Module 属性的与版本无关的访问。Provides COM objects with version-independent access to the Module property.

Name

为 COM 对象提供对 Name 属性的与版本无关的访问。Provides COM objects with version-independent access to the Name property.

Namespace

为 COM 对象提供对 Namespace 属性的与版本无关的访问。Provides COM objects with version-independent access to the Namespace property.

ReflectedType

为 COM 对象提供对 ReflectedType 属性的与版本无关的访问。Provides COM objects with version-independent access to the ReflectedType property.

TypeHandle

为 COM 对象提供对 TypeHandle 属性的与版本无关的访问。Provides COM objects with version-independent access to the TypeHandle property.

TypeInitializer

为 COM 对象提供对 TypeInitializer 属性的与版本无关的访问。Provides COM objects with version-independent access to the TypeInitializer property.

UnderlyingSystemType

为 COM 对象提供对 UnderlyingSystemType 属性的与版本无关的访问。Provides COM objects with version-independent access to the UnderlyingSystemType property.

方法

Equals(Object)

为 COM 对象提供对 Equals(Object) 方法的与版本无关的访问。Provides COM objects with version-independent access to the Equals(Object) method.

Equals(Type)

为 COM 对象提供对 Equals(Type) 方法的与版本无关的访问。Provides COM objects with version-independent access to the Equals(Type) method.

FindInterfaces(TypeFilter, Object)

为 COM 对象提供对 FindInterfaces(TypeFilter, Object) 方法的与版本无关的访问。Provides COM objects with version-independent access to the FindInterfaces(TypeFilter, Object) method.

FindMembers(MemberTypes, BindingFlags, MemberFilter, Object)

为 COM 对象提供对 FindMembers(MemberTypes, BindingFlags, MemberFilter, Object) 方法的与版本无关的访问。Provides COM objects with version-independent access to the FindMembers(MemberTypes, BindingFlags, MemberFilter, Object) method.

GetArrayRank()

为 COM 对象提供对 GetArrayRank() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetArrayRank() method.

GetConstructor(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

为 COM 对象提供对 GetConstructor(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetConstructor(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) method.

GetConstructor(BindingFlags, Binder, Type[], ParameterModifier[])

为 COM 对象提供对 GetConstructor(BindingFlags, Binder, Type[], ParameterModifier[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetConstructor(BindingFlags, Binder, Type[], ParameterModifier[]) method.

GetConstructor(Type[])

为 COM 对象提供对 GetConstructor(Type[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetConstructor(Type[]) method.

GetConstructors()

为 COM 对象提供对 GetConstructors() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetConstructors() method.

GetConstructors(BindingFlags)

为 COM 对象提供对 GetConstructors(BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetConstructors(BindingFlags) method.

GetCustomAttributes(Boolean)

为 COM 对象提供对 GetCustomAttributes(Boolean) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetCustomAttributes(Boolean) method.

GetCustomAttributes(Type, Boolean)

为 COM 对象提供对 GetCustomAttributes(Type, Boolean) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetCustomAttributes(Type, Boolean) method.

GetDefaultMembers()

为 COM 对象提供对 GetDefaultMembers() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetDefaultMembers() method.

GetElementType()

为 COM 对象提供对 GetElementType() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetElementType() method.

GetEvent(String)

为 COM 对象提供对 GetEvent(String) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetEvent(String) method.

GetEvent(String, BindingFlags)

为 COM 对象提供对 GetEvent(String, BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetEvent(String, BindingFlags) method.

GetEvents()

为 COM 对象提供对 GetEvents() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetEvents() method.

GetEvents(BindingFlags)

为 COM 对象提供对 GetEvents(BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetEvents(BindingFlags) method.

GetField(String)

为 COM 对象提供对 GetField(String) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetField(String) method.

GetField(String, BindingFlags)

为 COM 对象提供对 GetField(String, BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetField(String, BindingFlags) method.

GetFields()

为 COM 对象提供对 GetFields() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetFields() method.

GetFields(BindingFlags)

为 COM 对象提供对 GetFields(BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetFields(BindingFlags) method.

GetHashCode()

为 COM 对象提供对 GetHashCode() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetHashCode() method.

GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

将一组名称映射为对应的一组调度标识符。Maps a set of names to a corresponding set of dispatch identifiers.

GetInterface(String)

为 COM 对象提供对 GetInterface(String) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetInterface(String) method.

GetInterface(String, Boolean)

为 COM 对象提供对 GetInterface(String, Boolean) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetInterface(String, Boolean) method.

GetInterfaceMap(Type)

为 COM 对象提供对 GetInterfaceMap(Type) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetInterfaceMap(Type) method.

GetInterfaces()

为 COM 对象提供对 GetInterfaces() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetInterfaces() method.

GetMember(String)

为 COM 对象提供对 GetMember(String) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMember(String) method.

GetMember(String, BindingFlags)

为 COM 对象提供对 GetMember(String, BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMember(String, BindingFlags) method.

GetMember(String, MemberTypes, BindingFlags)

为 COM 对象提供对 GetMember(String, MemberTypes, BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMember(String, MemberTypes, BindingFlags) method.

GetMembers()

为 COM 对象提供对 GetMembers() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMembers() method.

GetMembers(BindingFlags)

为 COM 对象提供对 GetMembers(BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMembers(BindingFlags) method.

GetMethod(String)

为 COM 对象提供对 GetMethod(String) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMethod(String) method.

GetMethod(String, BindingFlags)

为 COM 对象提供对 GetMethod(String, BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMethod(String, BindingFlags) method.

GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

为 COM 对象提供对 GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) method.

GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])

为 COM 对象提供对 GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) method.

GetMethod(String, Type[])

为 COM 对象提供对 GetMethod(String, Type[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMethod(String, Type[]) method.

GetMethod(String, Type[], ParameterModifier[])

为 COM 对象提供对 GetMethod(String, Type[], ParameterModifier[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMethod(String, Type[], ParameterModifier[]) method.

GetMethods()

为 COM 对象提供对 GetMethods() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMethods() method.

GetMethods(BindingFlags)

为 COM 对象提供对 GetMethods(BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetMethods(BindingFlags) method.

GetNestedType(String)

为 COM 对象提供对 GetNestedType(String) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetNestedType(String) method.

GetNestedType(String, BindingFlags)

为 COM 对象提供对 GetNestedType(String, BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetNestedType(String, BindingFlags) method.

GetNestedTypes()

为 COM 对象提供对 GetNestedTypes() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetNestedTypes() method.

GetNestedTypes(BindingFlags)

为 COM 对象提供对 GetNestedTypes(BindingFlags) 方法的版本无关的访问,并使用指定绑定约束搜索嵌套在当前 Type 中的类型。Provides COM objects with version-independent access to the GetNestedTypes(BindingFlags) method, and searches for the types nested within the current Type, using the specified binding constraints.

GetProperties()

为 COM 对象提供对 GetProperties() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetProperties() method.

GetProperties(BindingFlags)

为 COM 对象提供对 GetProperties(BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetProperties(BindingFlags) method.

GetProperty(String)

为 COM 对象提供对 GetProperty(String) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetProperty(String) method.

GetProperty(String, BindingFlags)

为 COM 对象提供对 GetProperty(String, BindingFlags) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetProperty(String, BindingFlags) method.

GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])

为 COM 对象提供对 GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) method.

GetProperty(String, Type)

为 COM 对象提供对 GetProperty(String, Type) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetProperty(String, Type) method.

GetProperty(String, Type, Type[])

为 COM 对象提供对 GetProperty(String, Type, Type[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetProperty(String, Type, Type[]) method.

GetProperty(String, Type, Type[], ParameterModifier[])

为 COM 对象提供对 GetProperty(String, Type, Type[], ParameterModifier[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetProperty(String, Type, Type[], ParameterModifier[]) method.

GetProperty(String, Type[])

为 COM 对象提供对 GetProperty(String, Type[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetProperty(String, Type[]) method.

GetType()

为 COM 对象提供对 GetType() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetType() method.

GetTypeInfo(UInt32, UInt32, IntPtr)

检索对象的类型信息,然后可以使用该信息获取接口的类型信息。Retrieves the type information for an object, which can then be used to get the type information for an interface.

GetTypeInfoCount(UInt32)

检索对象提供的类型信息接口的数量(0 或 1)。Retrieves the number of type information interfaces that an object provides (either 0 or 1).

Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

提供对某一对象公开的属性和方法的访问。Provides access to properties and methods exposed by an object.

InvokeMember(String, BindingFlags, Binder, Object, Object[])

为 COM 对象提供对 InvokeMember(String, BindingFlags, Binder, Object, Object[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the InvokeMember(String, BindingFlags, Binder, Object, Object[]) method.

InvokeMember(String, BindingFlags, Binder, Object, Object[], CultureInfo)

为 COM 对象提供对 InvokeMember(String, BindingFlags, Binder, Object, Object[], CultureInfo) 方法的与版本无关的访问。Provides COM objects with version-independent access to the InvokeMember(String, BindingFlags, Binder, Object, Object[], CultureInfo) method.

InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])

为 COM 对象提供对 InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) 方法的与版本无关的访问。Provides COM objects with version-independent access to the InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) method.

IsAssignableFrom(Type)

为 COM 对象提供对 IsAssignableFrom(Type) 方法的与版本无关的访问。Provides COM objects with version-independent access to the IsAssignableFrom(Type) method.

IsDefined(Type, Boolean)

为 COM 对象提供对 IsDefined(Type, Boolean) 方法的与版本无关的访问。Provides COM objects with version-independent access to the IsDefined(Type, Boolean) method.

IsInstanceOfType(Object)

为 COM 对象提供对 IsInstanceOfType(Object) 方法的与版本无关的访问。Provides COM objects with version-independent access to the IsInstanceOfType(Object) method.

IsSubclassOf(Type)

为 COM 对象提供对 IsSubclassOf(Type) 方法的与版本无关的访问。Provides COM objects with version-independent access to the IsSubclassOf(Type) method.

ToString()

为 COM 对象提供对 ToString() 方法的与版本无关的访问。Provides COM objects with version-independent access to the ToString() method.

适用于