_Type 介面

定義

重要

此 API 不符合 CLS 規範。

公開 Type 類別的公用成員至 Unmanaged 程式碼。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
衍生
屬性

備註

這個介面是用來從非受控程式碼存取 managed 類別,不應從 managed 程式碼呼叫。This interface is for access to managed classes from unmanaged code and should not be called from managed code.

這個介面會保留可由非受控System.Type COM 物件存取之類別成員的 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)

將一組名稱對應至一組對應的分派識別項 (Dispatch Identifier)。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.

適用於