Assembly.ReflectionOnly 屬性

定義

取得 Boolean 值,指出這個組件是否已載入僅限反映的內容中。

public:
 virtual property bool ReflectionOnly { bool get(); };
public virtual bool ReflectionOnly { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public virtual bool ReflectionOnly { get; }
member this.ReflectionOnly : bool
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.ReflectionOnly : bool
Public Overridable ReadOnly Property ReflectionOnly As Boolean

屬性值

Boolean

如果這個組件已載入僅限反映的內容 (而非執行內容) 中,則為 true,否則為 false

屬性

備註

如果使用方法將元件載入至僅限反映的內容中, ReflectionOnlyLoad 您就無法在元件中執行程式碼。 若要執行程式碼,必須將元件載入到執行內容中。

適用於