Sage Modeling and Simulation Library

MaterialCatalog..::..Contains Method (MaterialType)

Determines whether this MaterialCatalog contains the specified MaterialType. Different instances of Material Types are considered equal if they have the same name and guid.

Namespace:  Highpoint.Sage.Materials.Chemistry
Assembly:  Sage4 (in Sage4.dll)

Syntax


public bool Contains(
	MaterialType mt
)

Parameters

mt
Type: Highpoint.Sage.Materials.Chemistry..::..MaterialType
The MaterialType instance.

Return Value

true if this MaterialCatalog contains the specified MaterialType; otherwise, false.