_Assembly 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重要
此 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 屬性之存取權。 |
方法
事件
ModuleResolve |
為 COM 物件提供與版本無關的 ModuleResolve 事件之存取權。 |
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應