Share via


ControlState Struct

Definition

The data type state

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkAnalytics.Support.ControlStateTypeConverter))]
public struct ControlState : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.NetworkAnalytics.Support.ControlState>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkAnalytics.Support.ControlStateTypeConverter))>]
type ControlState = struct
    interface IArgumentCompleter
Public Structure ControlState
Implements IArgumentCompleter, IEquatable(Of ControlState)
Inheritance
ControlState
Attributes
Implements

Fields

Name Description
Disabled

Field to disable a setting.

Enabled

Field to enable a setting.

Methods

Name Description
CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(ControlState)

Compares values of enum type ControlState

Equals(Object)

Compares values of enum type ControlState (override for Object)

GetHashCode()

Returns hashCode for enum ControlState

ToString()

Returns string representation for ControlState

Operators

Name Description
Equality(ControlState, ControlState)

Overriding == operator for enum ControlState

Implicit(ControlState to String)

Implicit operator to convert ControlState to string

Implicit(String to ControlState)

Implicit operator to convert string to ControlState

Inequality(ControlState, ControlState)

Overriding != operator for enum ControlState

Applies to