Share via


KeyType Struct

Definition

The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive).

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

Fields

Primary
Secondary

Methods

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

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

Equals(KeyType)

Compares values of enum type KeyType

Equals(Object)

Compares values of enum type KeyType (override for Object)

GetHashCode()

Returns hashCode for enum KeyType

ToString()

Returns string representation for KeyType

Operators

Equality(KeyType, KeyType)

Overriding == operator for enum KeyType

Implicit(KeyType to String)

Implicit operator to convert KeyType to string

Implicit(String to KeyType)

Implicit operator to convert string to KeyType

Inequality(KeyType, KeyType)

Overriding != operator for enum KeyType

Applies to