Share via


UsageUnit Struct

Definition

An enum describing the unit of usage measurement.

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

Fields

Count

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 UsageUnit (override for Object)

Equals(UsageUnit)

Compares values of enum type UsageUnit

GetHashCode()

Returns hashCode for enum UsageUnit

ToString()

Returns string representation for UsageUnit

Operators

Equality(UsageUnit, UsageUnit)

Overriding == operator for enum UsageUnit

Implicit(String to UsageUnit)

Implicit operator to convert string to UsageUnit

Implicit(UsageUnit to String)

Implicit operator to convert UsageUnit to string

Inequality(UsageUnit, UsageUnit)

Overriding != operator for enum UsageUnit

Applies to