SharedAccessBlobPolicies SharedAccessBlobPolicies SharedAccessBlobPolicies SharedAccessBlobPolicies Class

Definition

Represents the collection of shared access policies defined for a container.

public ref class SharedAccessBlobPolicies sealed : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::WindowsAzure::Storage::Blob::SharedAccessBlobPolicy ^>>, System::Collections::Generic::IDictionary<System::String ^, Microsoft::WindowsAzure::Storage::Blob::SharedAccessBlobPolicy ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::WindowsAzure::Storage::Blob::SharedAccessBlobPolicy ^>>
public sealed class SharedAccessBlobPolicies : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy>>, System.Collections.Generic.IDictionary<string,Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy>>
type SharedAccessBlobPolicies = class
    interface IDictionary<string, SharedAccessBlobPolicy>
    interface ICollection<KeyValuePair<string, SharedAccessBlobPolicy>>
    interface seq<KeyValuePair<string, SharedAccessBlobPolicy>>
    interface IEnumerable
Public NotInheritable Class SharedAccessBlobPolicies
Implements ICollection(Of KeyValuePair(Of String, SharedAccessBlobPolicy)), IDictionary(Of String, SharedAccessBlobPolicy), IEnumerable(Of KeyValuePair(Of String, SharedAccessBlobPolicy))
Inheritance
SharedAccessBlobPoliciesSharedAccessBlobPoliciesSharedAccessBlobPoliciesSharedAccessBlobPolicies
Implements

Constructors

SharedAccessBlobPolicies() SharedAccessBlobPolicies() SharedAccessBlobPolicies() SharedAccessBlobPolicies()

Properties

Count Count Count Count

Gets the number of key/SharedAccessBlobPolicy value pairs contained in the shared access policies collection.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

Gets a value indicating whether the collection of shared access policies is read-only.

Item[String] Item[String] Item[String] Item[String]

Gets or sets the SharedAccessBlobPolicy item associated with the specified key.

Keys Keys Keys Keys

Gets a collection containing the keys in the shared access policies collection.

Values Values Values Values

Gets a collection containing the values in the shared access policies collection.

Methods

Add(KeyValuePair<String,SharedAccessBlobPolicy>) Add(KeyValuePair<String,SharedAccessBlobPolicy>) Add(KeyValuePair<String,SharedAccessBlobPolicy>) Add(KeyValuePair<String,SharedAccessBlobPolicy>)

Adds the specified key/SharedAccessBlobPolicy value, stored in a KeyValuePair<TKey, TValue>, to the collection of shared access policies.

Add(String, SharedAccessBlobPolicy) Add(String, SharedAccessBlobPolicy) Add(String, SharedAccessBlobPolicy) Add(String, SharedAccessBlobPolicy)

Adds the specified key and SharedAccessBlobPolicy value to the collection of shared access policies.

Clear() Clear() Clear() Clear()

Removes all keys and SharedAccessBlobPolicy values from the shared access collection.

Contains(KeyValuePair<String,SharedAccessBlobPolicy>) Contains(KeyValuePair<String,SharedAccessBlobPolicy>) Contains(KeyValuePair<String,SharedAccessBlobPolicy>) Contains(KeyValuePair<String,SharedAccessBlobPolicy>)

Determines whether the collection of shared access policies contains the key and SharedAccessBlobPolicy value in the specified KeyValuePair<TKey, TValue> object.

ContainsKey(String) ContainsKey(String) ContainsKey(String) ContainsKey(String)

Determines whether the collection of shared access policies contains the specified key.

CopyTo(KeyValuePair<String,SharedAccessBlobPolicy>[], Int32) CopyTo(KeyValuePair<String,SharedAccessBlobPolicy>[], Int32) CopyTo(KeyValuePair<String,SharedAccessBlobPolicy>[], Int32) CopyTo(KeyValuePair<String,SharedAccessBlobPolicy>[], Int32)

Copies each key in the key/SharedAccessBlobPolicy value pair to a compatible one-dimensional array, starting at the specified index of the target array.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the collection of shared access policies.

Remove(KeyValuePair<String,SharedAccessBlobPolicy>) Remove(KeyValuePair<String,SharedAccessBlobPolicy>) Remove(KeyValuePair<String,SharedAccessBlobPolicy>) Remove(KeyValuePair<String,SharedAccessBlobPolicy>)

Removes the SharedAccessBlobPolicy value, specified in the KeyValuePair<TKey, TValue> object, from the shared access policies collection.

Remove(String) Remove(String) Remove(String) Remove(String)

Removes the value with the specified key from the shared access policies collection.

TryGetValue(String, SharedAccessBlobPolicy) TryGetValue(String, SharedAccessBlobPolicy) TryGetValue(String, SharedAccessBlobPolicy) TryGetValue(String, SharedAccessBlobPolicy)

Gets the SharedAccessBlobPolicy item associated with the specified key.

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection of shared access policies.

Extension Methods

GetValueOrDefault(IDictionary<String,String>, String) GetValueOrDefault(IDictionary<String,String>, String) GetValueOrDefault(IDictionary<String,String>, String) GetValueOrDefault(IDictionary<String,String>, String)
GetValueOrAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, Func<TKey,TValue>) GetValueOrAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, Func<TKey,TValue>) GetValueOrAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, Func<TKey,TValue>) GetValueOrAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, Func<TKey,TValue>)
GetValueOrDefault<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue) GetValueOrDefault<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue) GetValueOrDefault<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue) GetValueOrDefault<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue)
GetValueOrDefault<T>(IDictionary<String,Object>, String) GetValueOrDefault<T>(IDictionary<String,Object>, String) GetValueOrDefault<T>(IDictionary<String,Object>, String) GetValueOrDefault<T>(IDictionary<String,Object>, String)
IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to