Click or drag to resize

AbstractCollectionTypeProtoAddItem Method

Adds an item into the collection.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.1.2 (in KSPDev_Utils.1.2.dll) Version: 1.2 for KSP v1.6+
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