Method TryGetValue
TryGetValue<TValue>(CharArrayMap<TValue>, Boolean, out TValue)
Gets the value associated with the specified key.
Declaration
public static bool TryGetValue<TValue>(this CharArrayMap<TValue> map, bool key, out TValue value)
Parameters
Type | Name | Description |
---|---|---|
CharArrayMap<TValue> | map | this map |
System.Boolean | key | The key of the value to get. |
TValue | value | When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Type Parameters
Name | Description |
---|---|
TValue |
TryGetValue<TValue>(CharArrayMap<TValue>, Byte, out TValue)
Gets the value associated with the specified key.
Declaration
public static bool TryGetValue<TValue>(this CharArrayMap<TValue> map, byte key, out TValue value)
Parameters
Type | Name | Description |
---|---|---|
CharArrayMap<TValue> | map | this map |
System.Byte | key | The key of the value to get. |
TValue | value | When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Type Parameters
Name | Description |
---|---|
TValue |
TryGetValue<TValue>(CharArrayMap<TValue>, Char, out TValue)
Gets the value associated with the specified key.
Declaration
public static bool TryGetValue<TValue>(this CharArrayMap<TValue> map, char key, out TValue value)
Parameters
Type | Name | Description |
---|---|---|
CharArrayMap<TValue> | map | this map |
System.Char | key | The key of the value to get. |
TValue | value | When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Type Parameters
Name | Description |
---|---|
TValue |
TryGetValue<TValue>(CharArrayMap<TValue>, Int32, out TValue)
Gets the value associated with the specified key.
Declaration
public static bool TryGetValue<TValue>(this CharArrayMap<TValue> map, int key, out TValue value)
Parameters
Type | Name | Description |
---|---|---|
CharArrayMap<TValue> | map | this map |
System.Int32 | key | The key of the value to get. |
TValue | value | When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Type Parameters
Name | Description |
---|---|
TValue |
TryGetValue<TValue>(CharArrayMap<TValue>, Int64, out TValue)
Gets the value associated with the specified key.
Declaration
public static bool TryGetValue<TValue>(this CharArrayMap<TValue> map, long key, out TValue value)
Parameters
Type | Name | Description |
---|---|---|
CharArrayMap<TValue> | map | this map |
System.Int64 | key | The key of the value to get. |
TValue | value | When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Type Parameters
Name | Description |
---|---|
TValue |
TryGetValue<TValue>(CharArrayMap<TValue>, SByte, out TValue)
Gets the value associated with the specified key.
Declaration
[CLSCompliant(false)]
public static bool TryGetValue<TValue>(this CharArrayMap<TValue> map, sbyte key, out TValue value)
Parameters
Type | Name | Description |
---|---|---|
CharArrayMap<TValue> | map | this map |
System.SByte | key | The key of the value to get. |
TValue | value | When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Type Parameters
Name | Description |
---|---|
TValue |
TryGetValue<TValue>(CharArrayMap<TValue>, Int16, out TValue)
Gets the value associated with the specified key.
Declaration
public static bool TryGetValue<TValue>(this CharArrayMap<TValue> map, short key, out TValue value)
Parameters
Type | Name | Description |
---|---|---|
CharArrayMap<TValue> | map | this map |
System.Int16 | key | The key of the value to get. |
TValue | value | When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Type Parameters
Name | Description |
---|---|
TValue |
TryGetValue<TValue>(CharArrayMap<TValue>, UInt32, out TValue)
Gets the value associated with the specified key.
Declaration
[CLSCompliant(false)]
public static bool TryGetValue<TValue>(this CharArrayMap<TValue> map, uint key, out TValue value)
Parameters
Type | Name | Description |
---|---|---|
CharArrayMap<TValue> | map | this map |
System.UInt32 | key | The key of the value to get. |
TValue | value | When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Type Parameters
Name | Description |
---|---|
TValue |
TryGetValue<TValue>(CharArrayMap<TValue>, UInt64, out TValue)
Gets the value associated with the specified key.
Declaration
[CLSCompliant(false)]
public static bool TryGetValue<TValue>(this CharArrayMap<TValue> map, ulong key, out TValue value)
Parameters
Type | Name | Description |
---|---|---|
CharArrayMap<TValue> | map | this map |
System.UInt64 | key | The key of the value to get. |
TValue | value | When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Type Parameters
Name | Description |
---|---|
TValue |
TryGetValue<TValue>(CharArrayMap<TValue>, UInt16, out TValue)
Gets the value associated with the specified key.
Declaration
[CLSCompliant(false)]
public static bool TryGetValue<TValue>(this CharArrayMap<TValue> map, ushort key, out TValue value)
Parameters
Type | Name | Description |
---|---|---|
CharArrayMap<TValue> | map | this map |
System.UInt16 | key | The key of the value to get. |
TValue | value | When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Type Parameters
Name | Description |
---|---|
TValue |