Sets the persistent attribute for the sprite sprite.

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

Syntax

C#
public static void SetPersistent(
	XSprite sprite,
	bool value
)

Parameters

sprite
Type: SGP.XSpace..::.XSprite
The XSprite sprite to that the attribute is granted.
value
Type: System..::.Boolean
Defines wheter the attribute should be granted or removed.

Exceptions

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

See Also