RegistrationAttribute::RegistrationContext::ComponentPath Property
Visual Studio 2015
Gets the path to the component that is being registered.
Assembly: Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)
Property Value
Type: System::String^The path to the component being registered, including the file name.
Always use the ComponentPath property to locate the component being registered, rather than the CodeBase property. ComponentPath does not always refer to a physical path on disk. It can be a token that identifies the path at install time. The component is the same type as the object on which the registration attribute was found.
Show: