_Assembly 介面

定義

重要

此 API 不符合 CLS 規範。

公開 Assembly 類別的公用成員至 Unmanaged 程式碼。

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

備註

此介面適用于從 Unmanaged 程式碼存取 Managed 類別,不應從 Managed 程式碼呼叫。

這個介面會保留非受控 COM 物件可存取之 System.Reflection.Assembly 類別成員的 vtable 順序。

屬性

CodeBase

為 COM 物件提供與版本無關的 CodeBase 屬性之存取權。

EntryPoint

為 COM 物件提供與版本無關的 EntryPoint 屬性之存取權。

EscapedCodeBase

為 COM 物件提供與版本無關的 EscapedCodeBase 屬性之存取權。

Evidence

為 COM 物件提供與版本無關的 Evidence 屬性之存取權。

FullName

為 COM 物件提供與版本無關的 FullName 屬性之存取權。

GlobalAssemblyCache

為 COM 物件提供與版本無關的 GlobalAssemblyCache 屬性之存取權。

Location

為 COM 物件提供與版本無關的 Location 屬性之存取權。

方法

CreateInstance(String)

為 COM 物件提供與版本無關的 CreateInstance(String) 方法之存取權。

CreateInstance(String, Boolean)

為 COM 物件提供與版本無關的 CreateInstance(String, Boolean) 方法之存取權。

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

為 COM 物件提供與版本無關的 CreateInstance(String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[]) 方法之存取權。

Equals(Object)

為 COM 物件提供與版本無關的 Equals(Object) 方法之存取權。

GetCustomAttributes(Boolean)

為 COM 物件提供與版本無關的 GetCustomAttributes(Boolean) 方法之存取權。

GetCustomAttributes(Type, Boolean)

為 COM 物件提供與版本無關的 GetCustomAttributes(Type, Boolean) 方法之存取權。

GetExportedTypes()

為 COM 物件提供與版本無關的 GetExportedTypes() 屬性之存取權。

GetFile(String)

為 COM 物件提供與版本無關的 GetFile(String) 方法之存取權。

GetFiles()

為 COM 物件提供與版本無關的 GetFiles() 方法之存取權。

GetFiles(Boolean)

為 COM 物件提供與版本無關的 GetFiles(Boolean) 方法之存取權。

GetHashCode()

為 COM 物件提供與版本無關的 GetHashCode() 方法之存取權。

GetLoadedModules()

為 COM 物件提供與版本無關的 GetLoadedModules() 方法之存取權。

GetLoadedModules(Boolean)

為 COM 物件提供與版本無關的 GetLoadedModules(Boolean) 方法之存取權。

GetManifestResourceInfo(String)

為 COM 物件提供與版本無關的 GetManifestResourceInfo(String) 方法之存取權。

GetManifestResourceNames()

為 COM 物件提供與版本無關的 GetManifestResourceNames() 方法之存取權。

GetManifestResourceStream(String)

為 COM 物件提供與版本無關的 GetManifestResourceStream(String) 方法之存取權。

GetManifestResourceStream(Type, String)

為 COM 物件提供與版本無關的 GetManifestResourceStream(Type, String) 方法之存取權。

GetModule(String)

為 COM 物件提供與版本無關的 GetModule(String) 方法之存取權。

GetModules()

為 COM 物件提供與版本無關的 GetModules() 方法之存取權。

GetModules(Boolean)

為 COM 物件提供與版本無關的 GetModules(Boolean) 方法之存取權。

GetName()

為 COM 物件提供與版本無關的 GetName() 方法之存取權。

GetName(Boolean)

為 COM 物件提供與版本無關的 GetName(Boolean) 方法之存取權。

GetObjectData(SerializationInfo, StreamingContext)

為 COM 物件提供與版本無關的 GetObjectData(SerializationInfo, StreamingContext) 方法之存取權。

GetReferencedAssemblies()

為 COM 物件提供與版本無關的 GetReferencedAssemblies() 方法之存取權。

GetSatelliteAssembly(CultureInfo)

為 COM 物件提供與版本無關的 GetSatelliteAssembly(CultureInfo) 方法之存取權。

GetSatelliteAssembly(CultureInfo, Version)

為 COM 物件提供與版本無關的 GetSatelliteAssembly(CultureInfo, Version) 方法之存取權。

GetType()

為 COM 物件提供與版本無關的 GetType() 方法之存取權。

GetType(String)

為 COM 物件提供與版本無關的 GetType(String) 方法之存取權。

GetType(String, Boolean)

為 COM 物件提供與版本無關的 GetType(String, Boolean) 方法之存取權。

GetType(String, Boolean, Boolean)

為 COM 物件提供與版本無關的 GetType(String, Boolean, Boolean) 方法之存取權。

GetTypes()

為 COM 物件提供與版本無關的 GetTypes() 方法之存取權。

IsDefined(Type, Boolean)

為 COM 物件提供與版本無關的 IsDefined(Type, Boolean) 方法之存取權。

LoadModule(String, Byte[])

為 COM 物件提供與版本無關的 LoadModule(String, Byte[]) 方法之存取權。

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

為 COM 物件提供與版本無關的 LoadModule(String, Byte[], Byte[]) 方法之存取權。

ToString()

為 COM 物件提供與版本無關的 ToString() 方法之存取權。

事件

ModuleResolve

為 COM 物件提供與版本無關的 ModuleResolve 事件之存取權。

適用於

另請參閱