RVTDocs.com

ScheduleDefinition.GetFieldIndex

Method
Description:
Converts a field ID to the corresponding field index.
Syntax
public int GetFieldIndex(
	ScheduleFieldId fieldId
)
Parameters
Parameter Type Description
fieldId ScheduleFieldId The field ID.
Return Value
Type Description
Int32 The field index.
Exceptions
Exception Condition
ArgumentException fieldId is not the ID of a field in this ScheduleDefinition.
ArgumentNullException A non-optional argument was null