DeploymentRuleCollection 類別

定義

表示 DeploymentRule 物件的集合。

public ref class DeploymentRuleCollection : System::Collections::Generic::IEnumerable<Microsoft::Web::Deployment::DeploymentRule ^>
public class DeploymentRuleCollection : System.Collections.Generic.IEnumerable<Microsoft.Web.Deployment.DeploymentRule>
type DeploymentRuleCollection = class
    interface seq<DeploymentRule>
    interface IEnumerable
Public Class DeploymentRuleCollection
Implements IEnumerable(Of DeploymentRule)
繼承
DeploymentRuleCollection
實作

屬性

Count

取得目前集合中的物件數目 DeploymentRule

Item[Int32]

DeploymentRule從目前集合取得位於指定索引處的 。

Item[String]

從目前集合中取得具有指定名稱的 DeploymentRule。

方法

Add(DeploymentRule)

將指定的 DeploymentRule 加入至目前的集合。

Clear()

從目前的集合中移除所有物件。

GetEnumerator()

取得可用來逐一查看目前集合的列舉值。

Remove(String)

DeploymentRule從目前的集合中移除具有指定名稱的 。

TryGetValue(String, DeploymentRule)

取得值,指出具有指定名稱的 是否存在 DeploymentRule 于目前集合中,並傳回指定 out 參數中的規則。

明確介面實作

IEnumerable.GetEnumerator()

表示 DeploymentRule 物件的集合。

適用於