Language

Term Struct

Definition

Represent benefit term in ISO 8601 format.

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

Fields

Name Description
P1Y
P3Y
P5Y

Methods

Name Description
CompleteArgument(String, String, String, CommandAst, IDictionary)

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

Equals(Object)

Compares values of enum type Term (override for Object)

Equals(Term)

Compares values of enum type Term

GetHashCode()

Returns hashCode for enum Term

ToString()

Returns string representation for Term

Operators

Name Description
Equality(Term, Term)

Overriding == operator for enum Term

Implicit(String to Term)

Implicit operator to convert string to Term

Implicit(Term to String)

Implicit operator to convert Term to string

Inequality(Term, Term)

Overriding != operator for enum Term

Applies to