Returns whether the field collection contains a field with the specified name.
Visual Basic (Declaration) | |
---|---|
Public Overloads Function Contains( _ ByVal fieldName As System.String _ ) As System.Boolean |
C# | |
---|---|
public System.bool Contains( System.string fieldName ) |
Parameters
- fieldName
- Specifies the field name to look for in the collection.
Return Value
A Boolean value that indicates whether the specified fieldname was found.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