Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

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)

Inheritance Hierarchy

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

Syntax

 
public sealed class SharedAccessBlobPolicies : IDictionary<string, SharedAccessBlobPolicy>, 
	ICollection<KeyValuePair<string, SharedAccessBlobPolicy>>, IEnumerable<KeyValuePair<string, SharedAccessBlobPolicy>>, 
	IEnumerable
 
public ref class SharedAccessBlobPolicies sealed : IDictionary<String^, SharedAccessBlobPolicy^>, 
	ICollection<KeyValuePair<String^, SharedAccessBlobPolicy^>>, 
	IEnumerable<KeyValuePair<String^, SharedAccessBlobPolicy^>>, 
	IEnumerable
 
[<Sealed>]
type SharedAccessBlobPolicies = 
    class
        interface IDictionary<string, SharedAccessBlobPolicy>
        interface ICollection<KeyValuePair<string, SharedAccessBlobPolicy>>
        interface IEnumerable<KeyValuePair<string, SharedAccessBlobPolicy>>
        interface IEnumerable
    end
 
Public NotInheritable Class SharedAccessBlobPolicies
	Implements IDictionary(OfString, SharedAccessBlobPolicy), ICollection(Of KeyValuePair(OfString, SharedAccessBlobPolicy)),
	IEnumerable(Of KeyValuePair(OfString, SharedAccessBlobPolicy)),
	IEnumerable

Constructors

Properties

NameDescription
System_CAPS_pubpropertyCountCountCountCount

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

System_CAPS_pubpropertyIsReadOnlyIsReadOnlyIsReadOnlyIsReadOnly

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

System_CAPS_pubpropertyItem[String]Item[String^]Item(String)Item(String)

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

System_CAPS_pubpropertyKeysKeysKeysKeys

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

System_CAPS_pubpropertyValuesValuesValuesValues

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

Methods

NameDescription
System_CAPS_pubmethodAdd(KeyValuePair<String, SharedAccessBlobPolicy>)(KeyValuePair<String^, SharedAccessBlobPolicy^>)(KeyValuePair<String, SharedAccessBlobPolicy>)(KeyValuePair(Of String, SharedAccessBlobPolicy))

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

System_CAPS_pubmethodAdd(String, SharedAccessBlobPolicy)(String^, SharedAccessBlobPolicy^)(String, SharedAccessBlobPolicy)(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>)(KeyValuePair<String^, SharedAccessBlobPolicy^>)(KeyValuePair<String, SharedAccessBlobPolicy>)(KeyValuePair(Of String, SharedAccessBlobPolicy))

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

System_CAPS_pubmethodContainsKey(String)(String^)(String)(String)

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

System_CAPS_pubmethodCopyTo(KeyValuePair<String, SharedAccessBlobPolicy>[], Int32)(array<KeyValuePair<String^, SharedAccessBlobPolicy^>>^, Int32)(KeyValuePair<String, SharedAccessBlobPolicy>[], Int32)(KeyValuePair(Of 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)(Object^)(Object)(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>)(KeyValuePair<String^, SharedAccessBlobPolicy^>)(KeyValuePair<String, SharedAccessBlobPolicy>)(KeyValuePair(Of String, SharedAccessBlobPolicy))

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

System_CAPS_pubmethodRemove(String)(String^)(String)(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)(String^, SharedAccessBlobPolicy^%)(String, SharedAccessBlobPolicy)(String, SharedAccessBlobPolicy)

Gets the SharedAccessBlobPolicy item associated with the specified key.

Explicit Interface Implementations

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.::..GetEnumerator()()()()

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

Thread Safety

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