共用方式為


ProvideBindingRedirectionAttribute.GenerateCodeBase Property

Gets or sets the generated code base element. When false, no corresponding CodeBase element is generated for the redirected assembly (used for assemblies in the GAC).

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Property GenerateCodeBase As Boolean
public bool GenerateCodeBase { get; set; }
public:
property bool GenerateCodeBase {
    bool get ();
    void set (bool value);
}
member GenerateCodeBase : bool with get, set
function get GenerateCodeBase () : boolean 
function set GenerateCodeBase (value : boolean)

Property Value

Type: Boolean

.NET Framework Security

See Also

Reference

ProvideBindingRedirectionAttribute Class

Microsoft.VisualStudio.Shell Namespace