SharedAccessFilePolicies.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Add(KeyValuePair<String,SharedAccessFilePolicy>) |
Adds the specified key/SharedAccessFilePolicy value, stored in a KeyValuePair<TKey,TValue>, to the collection of shared access policies. |
Add(String, SharedAccessFilePolicy) |
Adds the specified key and SharedAccessFilePolicy value to the collection of shared access policies. |
Add(KeyValuePair<String,SharedAccessFilePolicy>)
Adds the specified key/SharedAccessFilePolicy value, stored in a KeyValuePair<TKey,TValue>, to the collection of shared access policies.
public void Add (System.Collections.Generic.KeyValuePair<string,Microsoft.Azure.Storage.File.SharedAccessFilePolicy> item);
abstract member Add : System.Collections.Generic.KeyValuePair<string, Microsoft.Azure.Storage.File.SharedAccessFilePolicy> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<string, Microsoft.Azure.Storage.File.SharedAccessFilePolicy> -> unit
Public Sub Add (item As KeyValuePair(Of String, SharedAccessFilePolicy))
Parameters
The KeyValuePair<TKey,TValue> object, containing a key/SharedAccessFilePolicy value pair, to add to the shared access policies collection.
Implements
Applies to
Add(String, SharedAccessFilePolicy)
Adds the specified key and SharedAccessFilePolicy value to the collection of shared access policies.
public void Add (string key, Microsoft.Azure.Storage.File.SharedAccessFilePolicy value);
abstract member Add : string * Microsoft.Azure.Storage.File.SharedAccessFilePolicy -> unit
override this.Add : string * Microsoft.Azure.Storage.File.SharedAccessFilePolicy -> unit
Public Sub Add (key As String, value As SharedAccessFilePolicy)
Parameters
- key
- String
The key of the SharedAccessFilePolicy value to add.
- value
- SharedAccessFilePolicy
The SharedAccessFilePolicy value to add the collection of shared access policies.
Implements
Applies to
Azure SDK for .NET