DeploymentRuleCollection.Item[] Property

Definition

Gets the specified item from the current collection.

Overloads

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.

Item[Int32]

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

public:
 property Microsoft::Web::Deployment::DeploymentRule ^ default[int] { Microsoft::Web::Deployment::DeploymentRule ^ get(int index); };
public Microsoft.Web.Deployment.DeploymentRule this[int index] { get; }
member this.Item(int) : Microsoft.Web.Deployment.DeploymentRule
Default Public ReadOnly Property Item(index As Integer) As DeploymentRule

Parameters

index
Int32

The index of the item to get from the current collection.

Property Value

A DeploymentRule if one is found at the specified index.

Applies to

Item[String]

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

public:
 property Microsoft::Web::Deployment::DeploymentRule ^ default[System::String ^] { Microsoft::Web::Deployment::DeploymentRule ^ get(System::String ^ name); };
public Microsoft.Web.Deployment.DeploymentRule this[string name] { get; }
member this.Item(string) : Microsoft.Web.Deployment.DeploymentRule
Default Public ReadOnly Property Item(name As String) As DeploymentRule

Parameters

name
String

The name of the DeploymentRule to find in the current collection.

Property Value

A DeploymentRule with the specified name if one exists.

Applies to