NullableLargeArrayTTryGetValue Method

Tries to get the value at the specified index if it exists.

Definition

Namespace: SnapDB.Collections
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TryGetValue(
	int index,
	out T? value
)

Parameters

index  Int32
The index of the value to retrieve.
value  T
When this method returns, contains the value at the specified index if it exists, or the default value for the type if not.

Return Value

Boolean
true if the value at the specified index exists; otherwise, false.

Remarks

This method checks if the element at the specified index has a value using HasValue(Int32).

See Also