NameValueCollectionExtensions.TryGetInt32 method
Version 1.1.28
.NET Framework 4.8
| Namespace | Skybrud.Essentials.Collections.Extensions |
|---|---|
| Assembly | Skybrud.Essentials.dll |
TryGetInt32(NameValueCollection, string, out int)
Extension method
Gets the int value associated with the specified key.
public static bool TryGetInt32(this NameValueCollection collection, string key, int result)
Returns
true if an item with key was found converted successfully; otherwise, false.