Click or drag to resize

PoolContainerTInstanceAdd Method

Adds the specified item with the specified key.

Namespace:  SampSharp.GameMode.Pools
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public void Add(
	int key,
	TInstance item
)

Parameters

key
Type: SystemInt32
The key.
item
Type: TInstance
The item.
Exceptions
ExceptionCondition
ArgumentExceptionduplicate key;key
See Also