Partager via


DriveState Struct

Definition

The drive's current state.

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

Fields

Completed
CompletedMoreInfo
NeverReceived
Received
ShippedBack
Specified
Transferring

Methods

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

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

Equals(DriveState)

Compares values of enum type DriveState

Equals(Object)

Compares values of enum type DriveState (override for Object)

GetHashCode()

Returns hashCode for enum DriveState

ToString()

Returns string representation for DriveState

Operators

Equality(DriveState, DriveState)

Overriding == operator for enum DriveState

Implicit(DriveState to String)

Implicit operator to convert DriveState to string

Implicit(String to DriveState)

Implicit operator to convert string to DriveState

Inequality(DriveState, DriveState)

Overriding != operator for enum DriveState

Applies to