共用方式為


IDeploymentConfigurationDictionary Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Contains a collection of deployment steps.

Namespace:  Microsoft.VisualStudio.SharePoint.Deployment
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Public Interface IDeploymentConfigurationDictionary _
    Inherits IDictionary(Of String, IDeploymentConfiguration), ICollection(Of KeyValuePair(Of String, IDeploymentConfiguration)),  _
    IEnumerable(Of KeyValuePair(Of String, IDeploymentConfiguration)), IEnumerable
public interface IDeploymentConfigurationDictionary : IDictionary<string, IDeploymentConfiguration>, 
    ICollection<KeyValuePair<string, IDeploymentConfiguration>>, IEnumerable<KeyValuePair<string, IDeploymentConfiguration>>, 
    IEnumerable

The IDeploymentConfigurationDictionary type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<KeyValuePair<String, IDeploymentConfiguration>>.)
Public property IsReadOnly Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<KeyValuePair<String, IDeploymentConfiguration>>.)
Public property Item Gets or sets the element with the specified key. (Inherited from IDictionary<String, IDeploymentConfiguration>.)
Public property Keys Gets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>. (Inherited from IDictionary<String, IDeploymentConfiguration>.)
Public property Values Gets an ICollection<T> containing the values in the IDictionary<TKey, TValue>. (Inherited from IDictionary<String, IDeploymentConfiguration>.)

Top

Methods

  Name Description
Public method Add(T) Adds an item to the ICollection<T>. (Inherited from ICollection<KeyValuePair<String, IDeploymentConfiguration>>.)
Public method Add(String) Adds a deployment configuration to the dictionary. The deployment configuration added by using this method is not stored in the project file or user file.
Public method Add(TKey, TValue) Adds an element with the provided key and value to the IDictionary<TKey, TValue>. (Inherited from IDictionary<String, IDeploymentConfiguration>.)
Public method Add(String, IEnumerable<String>, IEnumerable<String>) Adds a deployment configuration to the dictionary. The deployment configuration added by using this method is not stored in the project file or user file.
Public method Clear Removes all items from the ICollection<T>. (Inherited from ICollection<KeyValuePair<String, IDeploymentConfiguration>>.)
Public method Contains Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<KeyValuePair<String, IDeploymentConfiguration>>.)
Public method ContainsKey Determines whether the IDictionary<TKey, TValue> contains an element with the specified key. (Inherited from IDictionary<String, IDeploymentConfiguration>.)
Public method CopyTo Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<KeyValuePair<String, IDeploymentConfiguration>>.)
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<KeyValuePair<String, IDeploymentConfiguration>>.)
Public method Remove(TKey) Removes the element with the specified key from the IDictionary<TKey, TValue>. (Inherited from IDictionary<String, IDeploymentConfiguration>.)
Public method Remove(T) Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<KeyValuePair<String, IDeploymentConfiguration>>.)
Public method TryGetValue Gets the value associated with the specified key. (Inherited from IDictionary<String, IDeploymentConfiguration>.)

Top

See Also

Reference

Microsoft.VisualStudio.SharePoint.Deployment Namespace