Tests whether the world is contained in the world collection (in the space).

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static bool Contains(
	XWorld value
)

Parameters

value
Type: SGP.XSpace..::.XWorld
World being tested.

Return Value

Returns trueTruetruetrue (True in Visual Basic) if the world in contained in the collection, falseFalsefalsefalse (False in Visual Basic) otherwise.

Exceptions

ExceptionCondition
System..::.ArgumentNullException value is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also