RegistrationAttribute::RegistrationContext::ComponentPath Property

 

Gets the path to the component that is being registered.

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

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

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.

Return to top
Show: