EyeshotKeyedCollection<T>.TryGetValue Method

Gets the value associated with the specified key.
Public Function TryGetValue( _ 
ByVal key As String, _ 
ByRef value As T _ 
) As Boolean
This language is not supported or no code example is available.
public bool TryGetValue( 
string key
out T value 
)
This language is not supported or no code example is available.

Parameters

key
string

The key.

value
T

The value associated with the specified key.

Return Value

bool

True when the collection contains an element with the specified key, otherwise false.

.NET Framework

Supported in: 4.8

In this article

Definition