SharedAccessQueuePolicies Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the collection of shared access policies defined for a queue.
public sealed class SharedAccessQueuePolicies : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,Microsoft.Azure.Storage.Queue.SharedAccessQueuePolicy>>, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Storage.Queue.SharedAccessQueuePolicy>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.Azure.Storage.Queue.SharedAccessQueuePolicy>>
type SharedAccessQueuePolicies = class
interface IDictionary<string, SharedAccessQueuePolicy>
interface ICollection<KeyValuePair<string, SharedAccessQueuePolicy>>
interface seq<KeyValuePair<string, SharedAccessQueuePolicy>>
interface IEnumerable
Public NotInheritable Class SharedAccessQueuePolicies
Implements ICollection(Of KeyValuePair(Of String, SharedAccessQueuePolicy)), IDictionary(Of String, SharedAccessQueuePolicy), IEnumerable(Of KeyValuePair(Of String, SharedAccessQueuePolicy))
- Inheritance
-
System.ObjectSharedAccessQueuePolicies
- Implements
-
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,SharedAccessQueuePolicy>> System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>> System.Collections.Generic.IDictionary<System.String,SharedAccessQueuePolicy> System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,SharedAccessQueuePolicy>> System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> System.Collections.Generic.IEnumerable<T> System.Collections.IEnumerable
Constructors
| SharedAccessQueuePolicies() |
Properties
| Count |
Gets the number of key/SharedAccessQueuePolicy value pairs contained in the shared access policies collection. |
| IsReadOnly |
Gets a value indicating whether the collection of shared access policies is read-only. |
| Item[String] |
Gets or sets the SharedAccessQueuePolicy item associated with the specified key. |
| Keys |
Gets a collection containing the keys in the shared access policies collection. |
| Values |
Gets a collection containing the values in the shared access policies collection. |
Methods
| Add(KeyValuePair<String,SharedAccessQueuePolicy>) |
Adds the specified key/SharedAccessQueuePolicy value, stored in a System.Collections.Generic.KeyValuePair`2, to the collection of shared access policies. |
| Add(String, SharedAccessQueuePolicy) |
Adds the specified key and SharedAccessQueuePolicy value to the collection of shared access policies. |
| Clear() |
Removes all keys and SharedAccessQueuePolicy values from the shared access collection. |
| Contains(KeyValuePair<String,SharedAccessQueuePolicy>) |
Determines whether the collection of shared access policies contains the key and SharedAccessQueuePolicy value in the specified System.Collections.Generic.KeyValuePair`2 object. |
| ContainsKey(String) |
Determines whether the collection of shared access policies contains the specified key. |
| CopyTo(KeyValuePair<String,SharedAccessQueuePolicy>[], Int32) |
Copies each key/SharedAccessQueuePolicy value pair in the shared access policies collection to a compatible one-dimensional array, starting at the specified index of the target array. |
| GetEnumerator() |
Returns an enumerator that iterates through the collection of shared access policies. |
| Remove(KeyValuePair<String,SharedAccessQueuePolicy>) |
Removes the SharedAccessQueuePolicy value, specified in the System.Collections.Generic.KeyValuePair`2 object, from the shared access policies collection. |
| Remove(String) |
Removes the value with the specified key from the shared access policies collection. |
| TryGetValue(String, SharedAccessQueuePolicy) |
Gets the SharedAccessQueuePolicy item associated with the specified key. |
Explicit Interface Implementations
| IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through the collection of shared access policies. |
Extension Methods
| ToCommaSeparatedString<T>(IEnumerable<T>) |
Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections. |
| AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IReadOnlyDictionary<TKey,TValue>) | |