ModulePropertiesPage.OnActivated(Boolean) Method
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.
Indicates that the page is activated.
protected:
override void OnActivated(bool initialActivation);
protected override void OnActivated (bool initialActivation);
override this.OnActivated : bool -> unit
Protected Overrides Sub OnActivated (initialActivation As Boolean)
Parameters
- initialActivation
- Boolean
true
to do additional processing for the first activation; otherwise, false
.
Examples
The following example loads the preference store.
protected override void OnActivated(bool initialActivation) {
base.OnActivated(initialActivation);
if (initialActivation) {
LoadPreferences(MyPrefStore);
}
}
Remarks
You do not need to override this method.