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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Public Property CodeBase As String
public string CodeBase { get; set; }
Property Value
Type: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.