Compartir a través de


RegistrationAttribute.RegistrationContext.CodeBase Property

Definition

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.

Applies to