HierarchicalStateOverrideComponent.GetState(HierarchicalStates) 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.
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.