Freigeben über


DeploymentRuleCollection.Item[] Eigenschaft

Definition

Ruft das angegebene Element aus der aktuellen Auflistung ab.

Überlädt

Item[Int32]

Ruft den DeploymentRule am angegebenen Index aus der aktuellen Auflistung ab.

Item[String]

Ruft deploymentRule mit dem angegebenen Namen aus der aktuellen Auflistung ab.

Item[Int32]

Ruft den DeploymentRule am angegebenen Index aus der aktuellen Auflistung ab.

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

Parameter

index
Int32

Der Index des Elements, das aus der aktuellen Auflistung abgerufen werden soll.

Eigenschaftswert

Ein DeploymentRule , wenn am angegebenen indexgefunden wird.

Gilt für:

Item[String]

Ruft deploymentRule mit dem angegebenen Namen aus der aktuellen Auflistung ab.

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

Parameter

name
String

Der Name des , der DeploymentRule in der aktuellen Auflistung gesucht werden soll.

Eigenschaftswert

Ein DeploymentRule mit dem angegebenen Namen, sofern vorhanden.

Gilt für: