Shared​Access​Table​Policies Class

Definition

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

public sealed class SharedAccessTablePolicies : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,Microsoft.WindowsAzure.Storage.Table.SharedAccessTablePolicy>>, System.Collections.Generic.IDictionary<string,Microsoft.WindowsAzure.Storage.Table.SharedAccessTablePolicy>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.WindowsAzure.Storage.Table.SharedAccessTablePolicy>>
Inheritance
SharedAccessTablePolicies
Implements

Constructors

Shared​Access​Table​Policies()

Properties

Count

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

Is​Read​Only

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

Item(​String)

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

Keys

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

Values

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

Methods

Add(​Key​Value​Pair<​String,​Shared​Access​Table​Policy>)

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

Add(​String, ​Shared​Access​Table​Policy)

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

Clear()

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

Contains(​Key​Value​Pair<​String,​Shared​Access​Table​Policy>)

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

Contains​Key(​String)

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

Copy​To(​Key​Value​Pair<​String,​Shared​Access​Table​Policy>[], ​Int32)

Copies each key/SharedAccessTablePolicy value pair in the shared access policies collection to a compatible one-dimensional array, starting at the specified index of the target array.

Get​Enumerator()

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

Remove(​Key​Value​Pair<​String,​Shared​Access​Table​Policy>)

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

Remove(​String)

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

Try​Get​Value(​String, ​Shared​Access​Table​Policy)

Gets the SharedAccessTablePolicy item associated with the specified key.

Explicit Interface Implementations

I​Enumerable.​Get​Enumerator()

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

Extension Methods

GetValueOrDefault(IDictionary<String,String>, String)

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

GetValueOrAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, Func<TKey,TValue>)

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

GetValueOrDefault<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue)

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

GetValueOrDefault<T>(IDictionary<String,Object>, String)

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

IsDefined(Object)

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

IsNull(Object)

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

IsPrimitive(Object)

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