HierarchicalStateOverrideComponent.SetState 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.
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.