Share via


HierarchicalStateOverrideComponent.GetState(HierarchicalStates) Method

Definition

Returns the current enabled state of a feature.

public:
 Microsoft::Azure::RemoteRendering::HierarchicalEnableState GetState(Microsoft::Azure::RemoteRendering::HierarchicalStates feature);
public Microsoft.Azure.RemoteRendering.HierarchicalEnableState GetState (Microsoft.Azure.RemoteRendering.HierarchicalStates feature);
member this.GetState : Microsoft.Azure.RemoteRendering.HierarchicalStates -> Microsoft.Azure.RemoteRendering.HierarchicalEnableState
Public Function GetState (feature As HierarchicalStates) As HierarchicalEnableState

Parameters

feature
HierarchicalStates

A single feature to query the current status on. Unlike SetState, multiple feature bits cannot be combined here.

Returns

Remarks

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

Applies to