你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DefaultGateway Struct

Definition

The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.

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

Fields

False
True

Methods

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

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

Equals(DefaultGateway)

Compares values of enum type DefaultGateway

Equals(Object)

Compares values of enum type DefaultGateway (override for Object)

GetHashCode()

Returns hashCode for enum DefaultGateway

ToString()

Returns string representation for DefaultGateway

Operators

Equality(DefaultGateway, DefaultGateway)

Overriding == operator for enum DefaultGateway

Implicit(DefaultGateway to String)

Implicit operator to convert DefaultGateway to string

Implicit(String to DefaultGateway)

Implicit operator to convert string to DefaultGateway

Inequality(DefaultGateway, DefaultGateway)

Overriding != operator for enum DefaultGateway

Applies to