DeploymentRuleCollection Class

IIS 7.0

Represents a collection of DeploymentRule objects.

System..::..Object
  Microsoft.Web.Deployment..::..DeploymentRuleCollection

Namespace:  Microsoft.Web.Deployment
Assembly:  Microsoft.Web.Deployment (in Microsoft.Web.Deployment.dll)

public ref class DeploymentRuleCollection : IEnumerable<DeploymentRule^>, 
	IEnumerable

The DeploymentRuleCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of DeploymentRule objects in the current collection.
Public propertyItem[([(Int32])])Gets the DeploymentRule at the specified index from the current collection.
Public propertyItem[([(String])])Gets the DeploymentRule with the specified name from the current collection.
Top

  NameDescription
Public methodAddAdds the specified DeploymentRule to the current collection.
Public methodClearRemoves all objects from the current collection.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumeratorGets an enumerator that can be used to iterate through the current collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveRemoves the DeploymentRule with the specified name from the current collection.
Public methodToString (Inherited from Object.)
Public methodTryGetValueGets a value indicating whether a DeploymentRule with the specified name exists in the current collection, and returns the rule in the specified out parameter.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: