GetContainerByID

Returns a Container object with its properties populated with corresponding data from the material database, based on the ContainerID.
Syntax
Set
object
=
MaterialSvr
.
GetContainerByID
(ByVal
ContainerID
As Long)
The
GetContainerByID
method syntax has these parts:
Part
Description
object
Reference to a valid Container object.
MaterialSvr
Instance of the MaterialServer Interface to which the method is directed.
ContainerID
ID of the Container being requested.
Remarks
Although this method loads the Container data of the Container object, this object contains a collection of ContainerProperties and ContainerMaterials. These collection objects are not populated until you explicitly call those properties on the Container object. The purpose for this is that pre-loading these collection objects is a performance hit that need not be taken unless those particular elements are required.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal