RegistrationAttribute::RegistrationContext::CodeBase Property

 

Gets the path and filename of the object being registered.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)

public:
property String^ CodeBase {
	virtual String^ get() abstract;
}

Property Value

Type: System::String^

The path and filename of the object being registered.

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.

Return to top
Show: