Share via


ImmutabilityState Struct

Definition

Immutability state

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

Fields

Disabled
Locked
Unlocked

Methods

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

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

Equals(ImmutabilityState)

Compares values of enum type ImmutabilityState

Equals(Object)

Compares values of enum type ImmutabilityState (override for Object)

GetHashCode()

Returns hashCode for enum ImmutabilityState

ToString()

Returns string representation for ImmutabilityState

Operators

Equality(ImmutabilityState, ImmutabilityState)

Overriding == operator for enum ImmutabilityState

Implicit(ImmutabilityState to String)

Implicit operator to convert ImmutabilityState to string

Implicit(String to ImmutabilityState)

Implicit operator to convert string to ImmutabilityState

Inequality(ImmutabilityState, ImmutabilityState)

Overriding != operator for enum ImmutabilityState

Applies to