你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmEdgeOrderModelFactory.ProductDimensions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ProductDimensions.
public static Azure.ResourceManager.EdgeOrder.Models.ProductDimensions ProductDimensions (double? length = default, double? height = default, double? width = default, Azure.ResourceManager.EdgeOrder.Models.ProductLengthHeightWidthUnit? lengthHeightUnit = default, double? weight = default, double? depth = default, Azure.ResourceManager.EdgeOrder.Models.ProductWeightMeasurementUnit? weightUnit = default);
static member ProductDimensions : Nullable<double> * Nullable<double> * Nullable<double> * Nullable<Azure.ResourceManager.EdgeOrder.Models.ProductLengthHeightWidthUnit> * Nullable<double> * Nullable<double> * Nullable<Azure.ResourceManager.EdgeOrder.Models.ProductWeightMeasurementUnit> -> Azure.ResourceManager.EdgeOrder.Models.ProductDimensions
Public Shared Function ProductDimensions (Optional length As Nullable(Of Double) = Nothing, Optional height As Nullable(Of Double) = Nothing, Optional width As Nullable(Of Double) = Nothing, Optional lengthHeightUnit As Nullable(Of ProductLengthHeightWidthUnit) = Nothing, Optional weight As Nullable(Of Double) = Nothing, Optional depth As Nullable(Of Double) = Nothing, Optional weightUnit As Nullable(Of ProductWeightMeasurementUnit) = Nothing) As ProductDimensions
Parameters
- lengthHeightUnit
- Nullable<ProductLengthHeightWidthUnit>
Unit for the dimensions of length, height and width.
- weightUnit
- Nullable<ProductWeightMeasurementUnit>
Unit for the dimensions of weight.
Returns
A new ProductDimensions instance for mocking.