TXTextControl.DocumentServer.DocumentController.FieldAdapterCollection.IndexOf Method

Gets the index of the specified field adapter in the collection.

Syntax

[C#]
public int IndexOf(DocumentServer.Fields.FieldAdapter fieldAdapter);
[Visual Basic]
Public Function IndexOf(ByRef fieldAdapter As DocumentServer.Fields.FieldAdapter)
Parameter Description
fieldAdapter

Specifies the field adapter whose index should be looked up.

Return Value

The integer returned by the function represents the field adapter's position in the collection. If the specified field adapter is not in the collection, a negative value is returned.

See Also