Skip to content

IMFGS List

IMFGSList Public interface

Description

Represents a list of objects

Diagram

flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph VGWWCoreIEx
VGWWCoreIEx.IMFGSList[[IMFGSList]]
class VGWWCoreIEx.IMFGSList interfaceStyle;
end

Members

Properties

Public properties

TypeNameMethods
intCount
Gets the number of objects in the list.
get
objectItemget, set

Methods

Public methods

ReturnsName
voidAdd(object item)
Add an object to the list
voidClear()
Clear the list.
voidInsert(int index, object item)
Insert an object at the specified index.
stringJoin(string separator)
Concatenates the string value of each item in the collection.
voidRemoveAt(int index)
Removes an object from the list at the specified index.

Details

Summary

Represents a list of objects

Methods

Add

public void Add(object item)
Arguments
TypeNameDescription
objectitemThe object to be added
Summary

Add an object to the list

Clear

public void Clear()
Summary

Clear the list.

Insert

public void Insert(int index, object item)
Arguments
TypeNameDescription
intindexThe index where the object is to be inserted.
objectitemThe object to be inserted.
Summary

Insert an object at the specified index.

Remarks

Any existing objects in the list at or after the index will have their index incremented by one.

Join

public string Join(string separator)
Arguments
TypeNameDescription
stringseparatorThe separator between each item value.
Summary

Concatenates the string value of each item in the collection.

Returns

A string of item values.

RemoveAt

public void RemoveAt(int index)
Arguments
TypeNameDescription
intindexThe index of the object.
Summary

Removes an object from the list at the specified index.

Properties

Count

public int Count { get; }
Summary

Gets the number of objects in the list.

Item

public object Item { get; set; }

Generated with ModularDoc