DeploymentRuleCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for