_Assembly _Assembly _Assembly _Assembly Interface

定义

重要

此 API 不符合 CLS。

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

public interface class _Assembly
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("17156360-2F1A-384A-BC52-FDE93C215C5B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
[System.Runtime.InteropServices.Guid("17156360-2f1a-384a-bc52-fde93c215c5b")]
public interface _Assembly
type _Assembly = interface
Public Interface _Assembly
派生
属性

注解

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

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

属性

CodeBase CodeBase CodeBase CodeBase

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

EntryPoint EntryPoint EntryPoint EntryPoint

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

EscapedCodeBase EscapedCodeBase EscapedCodeBase EscapedCodeBase

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

Evidence Evidence Evidence Evidence

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

FullName FullName FullName FullName

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

GlobalAssemblyCache GlobalAssemblyCache GlobalAssemblyCache GlobalAssemblyCache

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

Location Location Location Location

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

方法

CreateInstance(String) CreateInstance(String) CreateInstance(String) CreateInstance(String)

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

CreateInstance(String, Boolean) CreateInstance(String, Boolean) CreateInstance(String, Boolean) CreateInstance(String, Boolean)

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

CreateInstance(String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[]) CreateInstance(String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[]) CreateInstance(String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[]) CreateInstance(String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[])

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean)

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

GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean)

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

GetExportedTypes() GetExportedTypes() GetExportedTypes() GetExportedTypes()

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

GetFile(String) GetFile(String) GetFile(String) GetFile(String)

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

GetFiles() GetFiles() GetFiles() GetFiles()

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

GetFiles(Boolean) GetFiles(Boolean) GetFiles(Boolean) GetFiles(Boolean)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

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

GetLoadedModules() GetLoadedModules() GetLoadedModules() GetLoadedModules()

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

GetLoadedModules(Boolean) GetLoadedModules(Boolean) GetLoadedModules(Boolean) GetLoadedModules(Boolean)

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

GetManifestResourceInfo(String) GetManifestResourceInfo(String) GetManifestResourceInfo(String) GetManifestResourceInfo(String)

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

GetManifestResourceNames() GetManifestResourceNames() GetManifestResourceNames() GetManifestResourceNames()

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

GetManifestResourceStream(Type, String) GetManifestResourceStream(Type, String) GetManifestResourceStream(Type, String) GetManifestResourceStream(Type, String)

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

GetManifestResourceStream(String) GetManifestResourceStream(String) GetManifestResourceStream(String) GetManifestResourceStream(String)

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

GetModule(String) GetModule(String) GetModule(String) GetModule(String)

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

GetModules() GetModules() GetModules() GetModules()

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

GetModules(Boolean) GetModules(Boolean) GetModules(Boolean) GetModules(Boolean)

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

GetName() GetName() GetName() GetName()

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

GetName(Boolean) GetName(Boolean) GetName(Boolean) GetName(Boolean)

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

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

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

GetReferencedAssemblies() GetReferencedAssemblies() GetReferencedAssemblies() GetReferencedAssemblies()

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

GetSatelliteAssembly(CultureInfo, Version) GetSatelliteAssembly(CultureInfo, Version) GetSatelliteAssembly(CultureInfo, Version) GetSatelliteAssembly(CultureInfo, Version)

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

GetSatelliteAssembly(CultureInfo) GetSatelliteAssembly(CultureInfo) GetSatelliteAssembly(CultureInfo) GetSatelliteAssembly(CultureInfo)

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

GetType(String, Boolean, Boolean) GetType(String, Boolean, Boolean) GetType(String, Boolean, Boolean) GetType(String, Boolean, Boolean)

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

GetType(String, Boolean) GetType(String, Boolean) GetType(String, Boolean) GetType(String, Boolean)

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

GetType() GetType() GetType() GetType()

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

GetType(String) GetType(String) GetType(String) GetType(String)

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

GetTypes() GetTypes() GetTypes() GetTypes()

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

IsDefined(Type, Boolean) IsDefined(Type, Boolean) IsDefined(Type, Boolean) IsDefined(Type, Boolean)

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

LoadModule(String, Byte[], Byte[]) LoadModule(String, Byte[], Byte[]) LoadModule(String, Byte[], Byte[]) LoadModule(String, Byte[], Byte[])

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

LoadModule(String, Byte[]) LoadModule(String, Byte[]) LoadModule(String, Byte[]) LoadModule(String, Byte[])

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

ToString() ToString() ToString() ToString()

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

事件

ModuleResolve ModuleResolve ModuleResolve ModuleResolve

为 COM 对象提供对 ModuleResolve 事件的版本无关的访问。Provides COM objects with version-independent access to the ModuleResolve event.

适用于

另请参阅