Share via


DayOfWeek Struct

Definition

Day of week to apply the patch on.

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

Fields

Everyday
Friday
Monday
Saturday
Sunday
Thursday
Tuesday
Wednesday

Methods

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

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

Equals(DayOfWeek)

Compares values of enum type DayOfWeek

Equals(Object)

Compares values of enum type DayOfWeek (override for Object)

GetHashCode()

Returns hashCode for enum DayOfWeek

ToString()

Returns string representation for DayOfWeek

Operators

Equality(DayOfWeek, DayOfWeek)

Overriding == operator for enum DayOfWeek

Implicit(DayOfWeek to String)

Implicit operator to convert DayOfWeek to string

Implicit(String to DayOfWeek)

Implicit operator to convert string to DayOfWeek

Inequality(DayOfWeek, DayOfWeek)

Overriding != operator for enum DayOfWeek

Applies to