NullableLargeArrayTTryGetValue Method
Tries to get the value at the specified index if it exists.
Namespace: SnapDB.CollectionsAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TryGetValue(
int index,
out T? value
)
Public Function TryGetValue (
index As Integer,
<OutAttribute> ByRef value As T
) As Boolean
public:
bool TryGetValue(
int index,
[OutAttribute] T% value
)
function TryGetValue(index, value);
- 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.
Booleantrue if the value at the specified index exists; otherwise,
false.
This method checks if the element at the specified index has a value using
HasValue(Int32).