[This is preliminary documentation and is subject to change.]

Gets the agent with the specified world ID. If the agent cannot be found, this method returns null.

Namespace: Clarion
Assembly: CLARIONLibrary (in CLARIONLibrary.dll) Version: 6.1.0.7 (6.1.0.7)

Syntax

C#
public static Agent GetAgent(
	Guid worldID
)

Parameters

worldID
Type: System..::..Guid
The world ID of the agent to get

Return Value

The agent with the specified world ID or null if the agent cannot be found

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionIf the singleton world instance has not been initialized

See Also