如果為 true,則會使用程式碼基底 (即特定組件檔案位置) 註冊產生器。 如果為 false,則組件會在 GAC 中。
命名空間: Microsoft.VisualStudio.TextTemplating.VSHost
組件: Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (在 Microsoft.VisualStudio.TextTemplating.VSHost.10.0.dll 中)
語法
'宣告
Public Property RegisterCodeBase As Boolean
Get
Set
public bool RegisterCodeBase { get; set; }
public:
property bool RegisterCodeBase {
bool get ();
void set (bool value);
}
member RegisterCodeBase : bool with get, set
function get RegisterCodeBase () : boolean
function set RegisterCodeBase (value : boolean)
屬性值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。