EyeshotKeyedCollection<T>.Item (System.String) Property

Gets the element with the specified name.
Public ReadOnly Overridable Shadows Property Item( _ 
ByVal name As String
) As T
This language is not supported or no code example is available.
new public virtual T this[ 
string name 
] {get;}
This language is not supported or no code example is available.

Parameters

name
string

The name of the object to get.

Property Value

T

The object with the specified name.

Exception type Condition

EyeshotException

Thrown when an element with the specified name does not exist in the collection or the name is null.

.NET Framework

Supported in: 4.8

In this article

Definition