MaterialService..::..GetCompartment Method (MaterialType, ICollection)
Gets the MaterialResourceItem that is acting as the compartment for the specified material type. Creates one anew if there was not one, and this MaterialService has its AutocreateMaterialCompartments parameter set to true. Will return null if there is no compartment with the given material type.Namespace: Highpoint.Sage.Materials
Assembly: Sage4 (in Sage4.dll)
- Type: Highpoint.Sage.Materials.Chemistry..::..MaterialType
The material type whose compartment we desire.
- Type: ICollection
A collection of the material specifications that are to be applied to this compartment.