Sage Modeling and Simulation Library

ModelObjectDictionary..::..Item Property

Retrieves the ModelObject whose key is the specified Guid. Guid.Empty is considered an explicit request for a null return, and adding an object with Guid.Empty as the key is considered illegal. All other Guids, if not contained in the dictionary, will result in the firing of the UnknownModelObjectRequested event.

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

Syntax


public IModelObject this[
	Guid key
] { get; set; }

Parameters

key
Type: Guid