Gets or sets the material quantity type.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public MaterialQuantityType QuantityType { get; set; }
Visual Basic
Public Property QuantityType As MaterialQuantityType
	Get
	Set
Visual C++
public:
property MaterialQuantityType QuantityType {
	MaterialQuantityType get ();
	void set (MaterialQuantityType value);
}

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when:
  1. Sub criteria exists when setting to MaterialQuantityType.Earthwork or MaterialQuantityType.Structure.
  2. Any material item whose type is MaterialItemType.CorridorShape exists when setting to any type except MaterialQuantityType.Structure.
  3. Material items in any sub criteria are more than 2 when setting to MaterialQuantityType.Earthwork.

See Also