Collapse All Expand All

C#

Clarion Library 6.1.1
World..::..GetDeclarativeChunk Method (Guid)
World Class See Also Send Feedback

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

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

Namespace: Clarion
Assembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)

# Syntax

C#
    public static DeclarativeChunk GetDeclarativeChunk(
    	Guid worldID
    )

#### Parameters

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

#### Return Value

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

# Remarks

Note
If the specified world ID is the world ID of an agent, this method will return the declarative chunk representation of that agent.

# Exceptions

Exception | Condition
--- | ---
System..::..InvalidOperationException | If the singleton world instance has not been initialized

# See Also

World Class
GetDeclarativeChunk Overload
Clarion Namespace