Documentation Center

Item Property

Gets an item from the collection.

Syntax

LanguageSyntax
C#Field this[ string name ] { get; }
Visual Basic (Declaration)ReadOnly Default Property Item ( _ name As String _ ) As Field
Visual C++property Field^ default[String^ name] { Field^ get (String^ name); }

Parameters

name

Type: System.String

The name of the Field object

Field Value

The Field object with the specified name.

Exceptions

ExceptionCondition
System.ArgumentNullExceptionname is null reference (Nothing in Visual Basic)
System.Collections.Generic.KeyNotFoundExceptionA Field object with name does not exist in the collection.