Compartilhar via


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

See Also

Reference

ProvideDependentAssemblyAttribute Class

Microsoft.VisualStudio.Shell Namespace