DeploymentRuleCollection Class

Definition

Represents a collection of DeploymentRule objects.

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)
Inheritance
DeploymentRuleCollection
Implements

Properties

Count

Gets the number of DeploymentRule objects in the current collection.

Item[Int32]

Gets the DeploymentRule at the specified index from the current collection.

Item[String]

Gets the DeploymentRule with the specified name from the current collection.

Methods

Add(DeploymentRule)

Adds the specified DeploymentRule to the current collection.

Clear()

Removes all objects from the current collection.

GetEnumerator()

Gets an enumerator that can be used to iterate through the current collection.

Remove(String)

Removes the DeploymentRule with the specified name from the current collection.

TryGetValue(String, DeploymentRule)

Gets a value indicating whether a DeploymentRule with the specified name exists in the current collection, and returns the rule in the specified out parameter.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to