RegistrationAttribute.RegistrationContext.CodeBase Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the path and filename of the object being registered.
public:
abstract property System::String ^ CodeBase { System::String ^ get(); };
public:
abstract property Platform::String ^ CodeBase { Platform::String ^ get(); };
public abstract string CodeBase { get; }
member this.CodeBase : string
Public MustOverride ReadOnly Property CodeBase As String
Property Value
The path and filename of the object being registered.
Remarks
The CodeBase registry key specifies a file path from which Visual Studio loads the VSPackage.
Note If the VSPackage DLL is located in either the ..\PublicAssemblies or ..\PrivateAssemblies folders, the CodeBase registry entry is not required, and the CodeBase property can be empty.