KSPDev Client utilities
KSPDev Client utilities
KSPDev.ConfigUtils
GenericCollectionTypeProto Class
GenericCollectionTypeProto Methods
AddItem Method
ClearItems Method
GetEnumerator Method
GetItemType Method
GenericCollectionTypeProto
AddItem 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#
Copy
public
override
void
AddItem
(
Object
instance
,
Object
item
)
Request Example
View Source
Parameters
instance
Type:
System
Object
A collection instance to add item into.
item
Type:
System
Object
An item to add. The item must be of the same type as
GetItemType
specifies.
See Also
Reference
GenericCollectionTypeProto Class
KSPDev.ConfigUtils Namespace
Send comments on this topic to
igor.zavoychinskiy@gmail.com