ManagementListStateDescriptor.RestoreState 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.
Overloads
RestoreState(ManagementList) |
Restores the state of the passed in ManagementList and applies the restored filter. |
RestoreState(ManagementList, Boolean) |
Restores the state of the passed in ManagementList. |
RestoreState(ManagementList)
Restores the state of the passed in ManagementList and applies the restored filter.
public:
override void RestoreState(Microsoft::Management::UI::Internal::ManagementList ^ subject);
public override void RestoreState (Microsoft.Management.UI.Internal.ManagementList subject);
override this.RestoreState : Microsoft.Management.UI.Internal.ManagementList -> unit
Public Overrides Sub RestoreState (subject As ManagementList)
Parameters
- subject
- ManagementList
The ManagementList instance whose state should be restored.
Applies to
RestoreState(ManagementList, Boolean)
Restores the state of the passed in ManagementList.
public:
void RestoreState(Microsoft::Management::UI::Internal::ManagementList ^ subject, bool applyRestoredFilter);
public void RestoreState (Microsoft.Management.UI.Internal.ManagementList subject, bool applyRestoredFilter);
override this.RestoreState : Microsoft.Management.UI.Internal.ManagementList * bool -> unit
Public Sub RestoreState (subject As ManagementList, applyRestoredFilter As Boolean)
Parameters
- subject
- ManagementList
The ManagementList instance whose state should be restored.
- applyRestoredFilter
- Boolean
Whether the restored filter should be automatically applied.
Exceptions
ManagementList.AutoGenerateColumns not supported.
Remarks
Columns will not be restored if not supported per Microsoft.Management.UI.Internal.ManagementListStateDescriptor.VerifyColumnsRestorable(Microsoft.Management.UI.Internal.ManagementList,Microsoft.Management.UI.Internal.RetryActionCallback{Microsoft.Management.UI.Internal.ManagementList}).