如果为 true,则使用基本代码注册生成器 - 即特定程序集文件位置。如果为 false,则程序集在 GAC 中。
命名空间: Microsoft.VisualStudio.TextTemplating.VSHost
程序集: Microsoft.VisualStudio.TextTemplating.VSHost.11.0(在 Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll 中)
语法
声明
Public Property RegisterCodeBase As Boolean
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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。