DeploymentRuleCollection Class
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.
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 |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
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