RegistrationAttribute.RegistrationContext.ComponentPath 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 to the component that is being registered.
public:
abstract property System::String ^ ComponentPath { System::String ^ get(); };
public:
abstract property Platform::String ^ ComponentPath { Platform::String ^ get(); };
public abstract string ComponentPath { get; }
member this.ComponentPath : string
Public MustOverride ReadOnly Property ComponentPath As String
Property Value
The path to the component being registered, including the file name.
Remarks
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.