Version

Contains(String) Method

Determines if the field has an associated FieldSortDescription in the collection.
Syntax
'Declaration
 
Public Overloads Function Contains( _
   ByVal fieldName As String _
) As Boolean
public bool Contains( 
   string fieldName
)

Parameters

fieldName
The associated field name

Return Value

True if the field has an associated FieldSortDescription in the collection.
Remarks

Note: the collection can now contain up to 2 instances of FieldSortDescriptions with the same field (one with its IsGroupBy set to true and the other with its IsGroupBy set to false).

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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