GetMaterialType

Returns a Type object populated with the specified MaterialType data from the material database based on the MaterialType Name.
Syntax
Set
object
=
MaterialSvr
.
GetMaterialType
(ByVal
MaterialTypeName
As String,
UseCollection
As Boolean)
The
GetMaterialType
method syntax has these parts:
Part
Description
object
Reference to a valid Classification object.
MaterialSvr
Instance of the MaterialServer Interface to which the method is directed.
MaterialTypeName
Represents the name of the Material Type.
UseCollection
True:
Attempts to locate the specified MaterialType in a pre-populated collection. If no collection is present, one is created and the record is read from the collection.
False:
Reads the record directly from the database.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal