Sage Modeling and Simulation Library

ModelObjectDictionary..::..Contains Method (Object)

Determines whether the ModelObjectDictionary object contains an element with the specified key.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


public bool Contains(
	Object key
)

Parameters

key
Type: Object
The key to locate in the ModelObjectDictionary object.

Return Value

true if the ModelObjectDictionary contains an element with the key; otherwise, false.

Exceptions


ExceptionCondition
ArgumentNullExceptionkey is null.