Share via


EnableState Struct

Definition

Property enabled state.

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

Fields

Disabled
Enabled

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

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

Equals(EnableState)

Compares values of enum type EnableState

Equals(Object)

Compares values of enum type EnableState (override for Object)

GetHashCode()

Returns hashCode for enum EnableState

ToString()

Returns string representation for EnableState

Operators

Equality(EnableState, EnableState)

Overriding == operator for enum EnableState

Implicit(EnableState to String)

Implicit operator to convert EnableState to string

Implicit(String to EnableState)

Implicit operator to convert string to EnableState

Inequality(EnableState, EnableState)

Overriding != operator for enum EnableState

Applies to