Sage Modeling and Simulation Library

SmartPropertyBag..::..AddAlias Method

Adds an alias to this SPB. An alias points to an entry in another SPB. The other SPB need not be a child of this SPB.

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

Syntax


public void AddAlias(
	string key,
	SmartPropertyBag otherBag,
	string otherKey
)

Parameters

key
Type: String
The key in this SPB by which this alias will be known.
otherBag
Type: Highpoint.Sage.SimCore..::..SmartPropertyBag
The SPB to which this alias points.
otherKey
Type: String
The key in the otherBag that holds the aliased object.