Represents the collection of shared access policies defined for a share.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Inheritance Hierarchy
System.::..ObjectMicrosoft.WindowsAzure.Storage.File.::..SharedAccessFilePolicies
Syntax
public sealed class SharedAccessFilePolicies : IDictionary<string, SharedAccessFilePolicy>, ICollection<KeyValuePair<string, SharedAccessFilePolicy>>, IEnumerable<KeyValuePair<string, SharedAccessFilePolicy>>, IEnumerable
public ref class SharedAccessFilePolicies sealed : IDictionary<String^, SharedAccessFilePolicy^>, ICollection<KeyValuePair<String^, SharedAccessFilePolicy^>>, IEnumerable<KeyValuePair<String^, SharedAccessFilePolicy^>>, IEnumerable
[<Sealed>] type SharedAccessFilePolicies = class interface IDictionary<string, SharedAccessFilePolicy> interface ICollection<KeyValuePair<string, SharedAccessFilePolicy>> interface IEnumerable<KeyValuePair<string, SharedAccessFilePolicy>> interface IEnumerable end
Public NotInheritable Class SharedAccessFilePolicies Implements IDictionary(Of String, SharedAccessFilePolicy), ICollection(Of KeyValuePair(Of String, SharedAccessFilePolicy)), IEnumerable(Of KeyValuePair(Of String, SharedAccessFilePolicy)), IEnumerable
Constructors
Name | Description | |
---|---|---|
SharedAccessFilePolicies()()()() |
Properties
Name | Description | |
---|---|---|
CountCountCountCount | Gets the number of key/SharedAccessFilePolicy value pairs contained in the shared access policies collection. | |
IsReadOnlyIsReadOnlyIsReadOnlyIsReadOnly | 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 SharedAccessFilePolicy item associated with the specified key. | |
KeysKeysKeysKeys | Gets a collection containing the keys in the shared access policies collection. | |
ValuesValuesValuesValues | Gets a collection containing the values in the shared access policies collection. |
Methods
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.::..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.