Override Add method to check if BaseObject is already in List
and ASSIGN Object Index value.
Namespace:
Hyleos.CommonAssembly: Hyleos.Common (in Hyleos.Common.dll) Version: 1.0.3.2 (1.0.3.2)
Syntax
| C# |
|---|
public int Add( T obj ) |
| Visual Basic (Declaration) |
|---|
Public Function Add ( _ obj As T _ ) As Integer |
| Visual C++ |
|---|
public: int Add( T obj ) |
Parameters
- obj
- Type: T
BaseObject to add
Return Value
BaseObject key (Index value) in list
Remarks
To not assign Index value of given object use: Insert method