共用方式為


ShippingAddress Constructors

Definition

Overloads

ShippingAddress()

Initializes a new instance of the ShippingAddress class.

ShippingAddress(String, String, String, String, String, String, String, String, String, Nullable<AddressType>)

Initializes a new instance of the ShippingAddress class.

ShippingAddress()

Initializes a new instance of the ShippingAddress class.

public ShippingAddress ();
Public Sub New ()

Applies to

ShippingAddress(String, String, String, String, String, String, String, String, String, Nullable<AddressType>)

Initializes a new instance of the ShippingAddress class.

public ShippingAddress (string streetAddress1, string country, string postalCode, string streetAddress2 = default, string streetAddress3 = default, string city = default, string stateOrProvince = default, string zipExtendedCode = default, string companyName = default, Microsoft.Azure.Management.DataBox.Models.AddressType? addressType = default);
new Microsoft.Azure.Management.DataBox.Models.ShippingAddress : string * string * string * string * string * string * string * string * string * Nullable<Microsoft.Azure.Management.DataBox.Models.AddressType> -> Microsoft.Azure.Management.DataBox.Models.ShippingAddress
Public Sub New (streetAddress1 As String, country As String, postalCode As String, Optional streetAddress2 As String = Nothing, Optional streetAddress3 As String = Nothing, Optional city As String = Nothing, Optional stateOrProvince As String = Nothing, Optional zipExtendedCode As String = Nothing, Optional companyName As String = Nothing, Optional addressType As Nullable(Of AddressType) = Nothing)

Parameters

streetAddress1
String

Street Address line 1.

country
String

Name of the Country.

postalCode
String

Postal code.

streetAddress2
String

Street Address line 2.

streetAddress3
String

Street Address line 3.

city
String

Name of the City.

stateOrProvince
String

Name of the State or Province.

zipExtendedCode
String

Extended Zip Code.

companyName
String

Name of the company.

addressType
Nullable<AddressType>

Type of address. Possible values include: 'None', 'Residential', 'Commercial'

Applies to