Class XenDesktopPolicyCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of XenDesktop policies.
public class XenDesktopPolicyCollection : Collection<XenDesktopPolicy>, IList<XenDesktopPolicy>, ICollection<XenDesktopPolicy>, IList, ICollection, IReadOnlyList<XenDesktopPolicy>, IReadOnlyCollection<XenDesktopPolicy>, IEnumerable<XenDesktopPolicy>, IEnumerable
- Inheritance
-
XenDesktopPolicyCollection
- Implements
- Inherited Members
Constructors
XenDesktopPolicyCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.XenDesktopPolicyCollection class.
public XenDesktopPolicyCollection()
Methods
Exists(string)
Determines whether a policy with the specified name exists within the collection.
public bool Exists(string name)
Parameters
name
stringThe name of the policy to locate.
Returns
- bool
A System.Boolean value that indicates whether a policy with the specified name exists within the collection.
FindByName(string)
Returns the policy with the specified name, or null if no policy with that name exists within the collection.
public XenDesktopPolicy FindByName(string name)
Parameters
name
stringThe name of the policy to locate.
Returns
- XenDesktopPolicy
The CENTREL.XIA.Configuration.Types.XenDesktopPolicy with the specified name.
Sort()
Sorts the values in the collection.
public void Sort()