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 名前空間