ProvideDependentAssemblyAttribute.CodeBase Property

Gets or sets a relative path from $PackageFolder$, or an absolute path rooted from an environment variable substitution (of format %variable%).

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

Syntax

'Declaration
Public Property CodeBase As String
public string CodeBase { get; set; }
public:
property String^ CodeBase {
    String^ get ();
    void set (String^ value);
}
member CodeBase : string with get, set
function get CodeBase () : String 
function set CodeBase (value : String)

Property Value

Type: String

Exceptions

Exception Condition
ArgumentException

When this property is set, this exception is thrown if the value of this property contains invalid path or file name characters.

.NET Framework Security

See Also

Reference

ProvideDependentAssemblyAttribute Class

Microsoft.VisualStudio.Shell Namespace