SharedAccessBlobPolicies Class

 

Updated: August 4, 2016

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

Namespace:   Microsoft.WindowsAzure.Storage.Blob
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

System.Object
  Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicies

public sealed class SharedAccessBlobPolicies : IDictionary<string, SharedAccessBlobPolicy>, 
	ICollection<KeyValuePair<string, SharedAccessBlobPolicy>>, IEnumerable<KeyValuePair<string, SharedAccessBlobPolicy>>, 
	IEnumerable

NameDescription
System_CAPS_pubpropertyCount

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

System_CAPS_pubpropertyIsReadOnly

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

System_CAPS_pubpropertyItem[String]

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

System_CAPS_pubpropertyKeys

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

System_CAPS_pubpropertyValues

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

NameDescription
System_CAPS_pubmethodAdd(KeyValuePair<String, SharedAccessBlobPolicy>)

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

System_CAPS_pubmethodAdd(String, SharedAccessBlobPolicy)

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

System_CAPS_pubmethodClear()

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

System_CAPS_pubmethodContains(KeyValuePair<String, SharedAccessBlobPolicy>)

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

System_CAPS_pubmethodContainsKey(String)

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

System_CAPS_pubmethodCopyTo(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.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

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

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRemove(KeyValuePair<String, SharedAccessBlobPolicy>)

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

System_CAPS_pubmethodRemove(String)

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

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryGetValue(String, SharedAccessBlobPolicy)

Gets the SharedAccessBlobPolicy item associated with the specified key.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: