Struct AGSListItem<TItem>
Represents an item in a list
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public struct AGSListItem<TItem>
Type Parameters
Name | Description |
---|---|
TItem |
Constructors
| Improve this Doc View SourceAGSListItem(TItem, Int32)
Initializes a new instance of the AGSListItem<TItem> struct.
Declaration
public AGSListItem(TItem item, int index)
Parameters
Type | Name | Description |
---|---|---|
TItem | item | Item. |
System.Int32 | index | Index. |
Properties
| Improve this Doc View SourceIndex
Gets the index of the item in the list.
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The index. |
Item
Gets the item.
Declaration
public TItem Item { get; }
Property Value
Type | Description |
---|---|
TItem | The item. |