ProvideCodeGeneratorAttribute.RegisterCodeBase 属性

如果为 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)

属性值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

ProvideCodeGeneratorAttribute 类

Microsoft.VisualStudio.TextTemplating.VSHost 命名空间