ScheduleDefinition.GetFieldIndex
Method
Description:
Converts a field ID to the corresponding field index.
Converts a field ID to the corresponding field index.
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 |