共用方式為


IDeploymentConfigurationDictionary 介面

包含部署步驟的集合。

命名空間:  Microsoft.VisualStudio.SharePoint.Deployment
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
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

IDeploymentConfigurationDictionary 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 Count 取得在 ICollection<T> 中所包含的元素數。 (繼承自 ICollection<KeyValuePair<String, IDeploymentConfiguration>>)。
公用屬性 IsReadOnly 取得值,這個值表示 ICollection<T> 是否為唯讀。 (繼承自 ICollection<KeyValuePair<String, IDeploymentConfiguration>>)。
公用屬性 Item 取得或設定具有指定索引鍵的元素。 (繼承自 IDictionary<String, IDeploymentConfiguration>)。
公用屬性 Keys 取得 ICollection<T>,包含 IDictionary<TKey, TValue> 的索引鍵。 (繼承自 IDictionary<String, IDeploymentConfiguration>)。
公用屬性 Values 取得 ICollection<T>,包含 IDictionary<TKey, TValue> 中的值。 (繼承自 IDictionary<String, IDeploymentConfiguration>)。

回頁首

方法

  名稱 說明
公用方法 Add(T) 將項目加入至 ICollection<T> 中。 (繼承自 ICollection<KeyValuePair<String, IDeploymentConfiguration>>)。
公用方法 Add(String) 將部署組態加入至字典。使用這個方法所加入的部署組態不會儲存在專案檔或使用者檔案中。
公用方法 Add(TKey, TValue) 將具有提供索引鍵和值的元素加入至 IDictionary<TKey, TValue>。 (繼承自 IDictionary<String, IDeploymentConfiguration>)。
公用方法 Add(String, IEnumerable<String>, IEnumerable<String>) 將部署組態加入至字典。使用這個方法所加入的部署組態不會儲存在專案檔或使用者檔案中。
公用方法 Clear 將所有項目從 ICollection<T> 移除。 (繼承自 ICollection<KeyValuePair<String, IDeploymentConfiguration>>)。
公用方法 Contains 判斷 ICollection<T> 是否包含特定值。 (繼承自 ICollection<KeyValuePair<String, IDeploymentConfiguration>>)。
公用方法 ContainsKey 判斷 IDictionary<TKey, TValue> 是否包含具有指定索引鍵的元素。 (繼承自 IDictionary<String, IDeploymentConfiguration>)。
公用方法 CopyTo 從特定的 Array 索引開始,複製 ICollection<T> 項目至 Array。 (繼承自 ICollection<KeyValuePair<String, IDeploymentConfiguration>>)。
公用方法 GetEnumerator() 傳回可逐一查看集合的列舉程式。 (繼承自 IEnumerable<KeyValuePair<String, IDeploymentConfiguration>>)。
公用方法 GetEnumerator() 傳回會逐一查看集合的列舉程式。 (繼承自 IEnumerable)。
公用方法 Remove(TKey) 將有指定索引鍵的元素從 IDictionary<TKey, TValue> 移除。 (繼承自 IDictionary<String, IDeploymentConfiguration>)。
公用方法 Remove(T) ICollection<T> 移除特定物件之第一個符合的元素。 (繼承自 ICollection<KeyValuePair<String, IDeploymentConfiguration>>)。
公用方法 TryGetValue 取得與指定索引鍵關聯的值。 (繼承自 IDictionary<String, IDeploymentConfiguration>)。

回頁首

請參閱

參考

Microsoft.VisualStudio.SharePoint.Deployment 命名空間