GroupByCollectionIndexOfTEntityField Method |
Gets the index of the specified field in the list.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public int IndexOf<TEntityField>(
TEntityField fieldToCheck
)
where TEntityField : IEntityFieldCore
Public Function IndexOf(Of TEntityField As IEntityFieldCore) (
fieldToCheck As TEntityField
) As Integer
Parameters
- fieldToCheck
- Type: TEntityField
field to get the index of
Type Parameters
- TEntityField
Return Value
Type:
Int32-1 if not found, index otherwise
Implements
IGroupByCollectionIndexOfTEntityField(TEntityField)See Also