Microsoft.ManagementConsole.PropertySheet.SetActivePage C# (CSharp) Method

SetActivePage() public method

public SetActivePage ( int index ) : void
index int
return void
        public void SetActivePage(int index)
        {
            this.GetPropertyPage(index);
            if (this._inRequestOperation)
            {
                this._newActivePageId = index;
            }
            else
            {
                SetActivePagePropertySheetCommand command = new SetActivePagePropertySheetCommand();
                command.SheetId = this.Id;
                command.PageId = 0;
                command.NewActivePageId = index;
                SnapInBase.SnapInInstance.SnapInPlatform.ProcessCommand(command);
            }
        }