_Assembly.CodeBase Property


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

 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.


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