Udostępnij za pośrednictwem


ProvideDependentAssemblyAttribute.CodeBase Property

Definition

A relative path from the $PackageFolder$, or an absolute path rooted from an environment variable substitution (format: %variable%).

public:
 property System::String ^ CodeBase { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ CodeBase { Platform::String ^ get(); void set(Platform::String ^ value); };
public string CodeBase { get; set; }
member this.CodeBase : string with get, set
Public Property CodeBase As String

Property Value

Exceptions

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

Applies to