Share via


Key Struct

Definition

Determines which key is to be regenerated

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

Fields

Key1
Key2

Methods

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

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

Equals(Key)

Compares values of enum type Key

Equals(Object)

Compares values of enum type Key (override for Object)

GetHashCode()

Returns hashCode for enum Key

ToString()

Returns string representation for Key

Operators

Equality(Key, Key)

Overriding == operator for enum Key

Implicit(Key to String)

Implicit operator to convert Key to string

Implicit(String to Key)

Implicit operator to convert string to Key

Inequality(Key, Key)

Overriding != operator for enum Key

Applies to