Loupe - Log - Monitor - Resolve
Gibraltar.Serialization Namespace / FieldDefinitionCollection Class / IndexOf Method / IndexOf(String) Method
The name of the field of interest.

In This Topic
    IndexOf(String) Method
    In This Topic
    Determines the index of a FieldDefinition by its specified fieldName.
    Syntax
    'Declaration
     
    
    Public Overloads Function IndexOf( _
       ByVal fieldName As String _
    ) As Integer
    public int IndexOf( 
       string fieldName
    )

    Parameters

    fieldName
    The name of the field of interest.

    Return Value

    The index of the FieldDefinition with the specified fieldName, or -1 if not found.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also