Click or drag to resize

AbstractCollectionTypeProtoAddItem Method

Adds an item into the collection.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
Syntax
C#
public abstract void AddItem(
	Object instance,
	Object item
)
Request Example View Source

Parameters

instance
Type: SystemObject
A collection instance to add item into.
item
Type: SystemObject
An item to add. The item must be of the same type as GetItemType specifies.
See Also