Documentation Center

Contains Method

Determines whether Field with the specified name is in the collection.

Syntax

LanguageSyntax
C#bool Contains( string name )
Visual Basic (Declaration)Function Contains ( _ name As String _ ) As Boolean
Visual C++bool Contains( String^ name )

Parameters

name

Type: System.String

The name of the Field object

Return Value

true if a Field object with the specified name is found in the collection; otherwise false