Propriedade ProvideCodeGeneratorAttribute.RegisterCodeBase
Se verdadeiro, o gerador é registrado usando um codebase - isto é, localização do arquivo de um conjunto específico. Se for false, o assembly está no GAC.
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (em Microsoft.VisualStudio.TextTemplating.VSHost.10.0.dll)
Sintaxe
'Declaração
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)
Valor de propriedade
Tipo: System.Boolean
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiáveis.