Share via


DeploymentRuleCollection.Add(DeploymentRule) Method

Definition

Adds the specified DeploymentRule to the current collection.

public:
 void Add(Microsoft::Web::Deployment::DeploymentRule ^ rule);
public void Add (Microsoft.Web.Deployment.DeploymentRule rule);
member this.Add : Microsoft.Web.Deployment.DeploymentRule -> unit
Public Sub Add (rule As DeploymentRule)

Parameters

rule
DeploymentRule

The rule to add to the specified collection.

Applies to