_Assembly.CodeBase Property

Definition

Provides COM objects with version-independent access to the CodeBase property.

public:
 property System::String ^ CodeBase { System::String ^ get(); };
public string CodeBase { get; }
member this.CodeBase : string
Public ReadOnly Property CodeBase As String

Property Value

The location of the assembly as specified originally.

Remarks

This method is for access to managed classes from unmanaged code, and should not be called from managed code.

The Assembly.CodeBase property gets the location of the assembly as specified originally, for example, in an AssemblyName object.

Applies to

See also