你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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