Table of Contents

Method TryGetValue

Namespace
Sisk.Core.Entity
Assembly
Sisk.Core.dll

TryGetValue(string, out string[])

Tries to get the array of values associated with the specified key.

public bool TryGetValue(string key, out string[] value)

Parameters

key string

The key for which to retrieve the values.

value string[]

When this method returns, contains the array of values associated with the specified key, or an empty array if the key is not found.

Returns

bool

true if the key was found and the values were retrieved; otherwise, false.