Microsoft.Azure.Storage.File.SharedAccessFilePolicies
public sealed class SharedAccessFilePolicies : IDictionary<string, SharedAccessFilePolicy>, ICollection<KeyValuePair<string, SharedAccessFilePolicy>>, IEnumerable<KeyValuePair<string, SharedAccessFilePolicy>>, IEnumerable
Represents the collection of shared access policies defined for a share.
Gets the number of key/ SharedAccessFilePolicy value pairs contained in the shared access policies collection.
Gets a value indicating whether the collection of shared access policies is read-only.
Gets or sets the SharedAccessFilePolicy item associated with the specified key.
Gets a collection containing the keys in the shared access policies collection.
Gets a collection containing the values in the shared access policies collection.
public SharedAccessFilePolicies()
Adds the specified key and SharedAccessFilePolicy value to the collection of shared access policies.
Adds the specified key/ SharedAccessFilePolicy value, stored in a KeyValuePair<T, U>, to the collection of shared access policies.
Removes all keys and SharedAccessFilePolicy values from the shared access collection.
Determines whether the collection of shared access policies contains the key and SharedAccessFilePolicy value in the specified KeyValuePair<T, U> object.
Determines whether the collection of shared access policies contains the specified key.
Copies each key in the key/ SharedAccessFilePolicy value pair to a compatible one-dimensional array, starting at the specified index
of the target array.
Returns an enumerator that iterates through the collection of shared access policies.
Removes the value with the specified key from the shared access policies collection.
Removes the SharedAccessFilePolicy value, specified in the KeyValuePair<T, U> object, from the shared access policies collection.
Gets the SharedAccessFilePolicy item associated with the specified key.