Share via


HierarchicalStateOverrideComponent.SetState Method

Definition

Sets specific features to a new state of type HierarchicalEnableState.

public:
 void SetState(Microsoft::Azure::RemoteRendering::HierarchicalStates feature, Microsoft::Azure::RemoteRendering::HierarchicalEnableState enabledState);
public void SetState (Microsoft.Azure.RemoteRendering.HierarchicalStates feature, Microsoft.Azure.RemoteRendering.HierarchicalEnableState enabledState);
member this.SetState : Microsoft.Azure.RemoteRendering.HierarchicalStates * Microsoft.Azure.RemoteRendering.HierarchicalEnableState -> unit
Public Sub SetState (feature As HierarchicalStates, enabledState As HierarchicalEnableState)

Parameters

feature
HierarchicalStates

The feature(s) to modify. A bitwise combination of features can be passed here to modify multiple features simultaneously.

enabledState
HierarchicalEnableState

The new state.

Remarks

* A InvalidParam error occurs if 'feature' is an invalid bitmask. * A InvalidParam error occurs if 'enabledState' is an invalid value.

Applies to