Item Property
Gets an item from the collection.
Syntax
| Language | Syntax |
|---|---|
| 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
| Exception | Condition |
|---|---|
| System.ArgumentNullException | name is null reference (Nothing in Visual Basic) |
| System.Collections.Generic.KeyNotFoundException | A Field object with name does not exist in the collection. |