SerialNumbersTGetNewOrOld Method |
Returns the serial number of an item. If the item has already been assigned a serial number, returns that number;
otherwise, assigns a new number to the item and returns that new number.
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public int GetNewOrOld(
T item
)
Public Function GetNewOrOld (
item As T
) As Integer
public:
int GetNewOrOld(
T item
)
member GetNewOrOld :
item : 'T -> int
Parameters
- item
- Type: T
The item
Return Value
Type:
Int32The item's serial number
See Also