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

OSState Struct

Definition

The operating system state.

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

Fields

Generalized

Image does not contain any machine and user specific information.

Specialized

Image contains machine and user specific information.

Methods

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

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

Equals(Object)

Compares values of enum type OSState (override for Object)

Equals(OSState)

Compares values of enum type OSState

GetHashCode()

Returns hashCode for enum OSState

ToString()

Returns string representation for OSState

Operators

Equality(OSState, OSState)

Overriding == operator for enum OSState

Implicit(OSState to String)

Implicit operator to convert OSState to string

Implicit(String to OSState)

Implicit operator to convert string to OSState

Inequality(OSState, OSState)

Overriding != operator for enum OSState

Applies to