Class
StringValueCollection
Represents an collection of StringValue.
public sealed class StringValueCollection : StringKeyStoreCollection, IDictionary<string, string[]>, ICollection<KeyValuePair<string, string[]>>, IEnumerable<KeyValuePair<string, string[]>>, IEnumerableInheritance #
object ← StringKeyStoreCollection ← StringValueCollection
Implements #
IDictionary<string, string[]>, ICollection<KeyValuePair<string, string[]>>, IEnumerable<KeyValuePair<string, string[]>>, IEnumerable
Inherited Members #
StringKeyStoreCollection.FromQueryString(string), StringKeyStoreCollection.FromCookieString(string), StringKeyStoreCollection.FromNameValueCollection(NameValueCollection), StringKeyStoreCollection.ImportNameValueCollection(NameValueCollection), StringKeyStoreCollection.ImportQueryString(string), StringKeyStoreCollection.ImportCookieString(string), StringKeyStoreCollection.Add(string, string[]), StringKeyStoreCollection.Add(string, IEnumerable<string>), StringKeyStoreCollection.Add(string, string), StringKeyStoreCollection.Add(KeyValuePair<string, string[]>), StringKeyStoreCollection.AddRange(IEnumerable<KeyValuePair<string, string[]>>), StringKeyStoreCollection.AddRange(IEnumerable<KeyValuePair<string, string?>>), StringKeyStoreCollection.SetRange(IEnumerable<KeyValuePair<string, string[]>>), StringKeyStoreCollection.Set(KeyValuePair<string, string[]>), StringKeyStoreCollection.Set(string, string), StringKeyStoreCollection.Set(string, IEnumerable<string>), StringKeyStoreCollection.GetValue(string), StringKeyStoreCollection.GetValues(string), StringKeyStoreCollection.Clear(), StringKeyStoreCollection.Remove(string), StringKeyStoreCollection.MakeReadOnly(), StringKeyStoreCollection.ContainsKey(string), StringKeyStoreCollection.GetEnumerator(), StringKeyStoreCollection.TryGetValue(string, out string[]), StringKeyStoreCollection.AsDictionary(), StringKeyStoreCollection.AsNameValueCollection(), StringKeyStoreCollection.AsStringValueCollection(), StringKeyStoreCollection.ToString(), StringKeyStoreCollection.ToString(IFormatProvider?), StringKeyStoreCollection.Comparer, StringKeyStoreCollection.this[string], StringKeyStoreCollection.Keys, StringKeyStoreCollection.Values, StringKeyStoreCollection.Count, StringKeyStoreCollection.IsReadOnly, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors #
| Name | Description |
|---|---|
| StringValueCollection(IDictionary<string, string?>) | Creates an new StringValueCollection instance with values from another IDictionary instance. |
| StringValueCollection(IDictionary<string, string[]>) | Creates an new StringValueCollection instance with values from another IDictionary instance. |
| StringValueCollection() | Creates an new empty StringValueCollection. |
Properties #
| Name | Description |
|---|---|
| this[string] | Gets or sets an StringValue item by their key name. |
Methods #
| Name | Description |
|---|---|
| GetItem(string) | Gets an StringValue from their key name. If the object was not found by their name, an empty non-null StringValue with no value is returned. |
| GetItems(string) | Gets an array of StringValue from their key name. If the object was not found by their name, an empty array of StringValue is returned. |
| TryGetValue(string, out StringValue) | Tries to get the last StringValue associated with the specified key. |