ProvideCodeGeneratorAttribute.RegisterCodeBase, propriété
Si la valeur est true, le générateur est inscrit à l'aide d'un code base - c'est-à-dire, un emplacement de fichier d'assembly spécifique.Si la valeur est false, l'assembly figure dans le Global Assembly Cache (GAC).
Espace de noms : Microsoft.VisualStudio.TextTemplating.VSHost
Assembly : Microsoft.VisualStudio.TextTemplating.VSHost.11.0 (dans Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll)
Syntaxe
'Déclaration
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)
Valeur de propriété
Type : System.Boolean
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
ProvideCodeGeneratorAttribute Classe
Microsoft.VisualStudio.TextTemplating.VSHost, espace de noms