Share via


IPVersion Struct

Definition

IP address version.

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

Fields

IPv4
IPv6

Methods

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

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

Equals(IPVersion)

Compares values of enum type IPVersion

Equals(Object)

Compares values of enum type IPVersion (override for Object)

GetHashCode()

Returns hashCode for enum IPVersion

ToString()

Returns string representation for IPVersion

Operators

Equality(IPVersion, IPVersion)

Overriding == operator for enum IPVersion

Implicit(IPVersion to String)

Implicit operator to convert IPVersion to string

Implicit(String to IPVersion)

Implicit operator to convert string to IPVersion

Inequality(IPVersion, IPVersion)

Overriding != operator for enum IPVersion

Applies to