Include the CommodityQuantity property when serializing the class or generating the document.

Namespace:  BargeEx
Assembly:  BargeEx (in BargeEx.dll)
Version: 3.0.400.140 (3.0.400.140)

Syntax

C#
public virtual bool CommodityQuantitySpecified { get; set; }
Visual Basic (Declaration)
Public Overridable Property CommodityQuantitySpecified As Boolean
Visual C++
public:
virtual property bool CommodityQuantitySpecified {
	bool get ();
	void set (bool value);
}

Property Value

true if the element associated with the CommodityQuantity property will be included in the serialized class or generated document; false if it will not be included. The default value is false.

Remarks

Use CommodityQuantitySpecified to indicate if the element associated with the CommodityQuantity property will be included or excluded in the serialized class or generated document.

This property is automatically set to true when CommodityQuantity is set.

See Also