Class IisVirtualDirectoryCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of IIS virtual directories.
public class IisVirtualDirectoryCollection : Collection<IisVirtualDirectory>, IList<IisVirtualDirectory>, ICollection<IisVirtualDirectory>, IList, ICollection, IReadOnlyList<IisVirtualDirectory>, IReadOnlyCollection<IisVirtualDirectory>, IEnumerable<IisVirtualDirectory>, IEnumerable
- Inheritance
-
IisVirtualDirectoryCollection
- Implements
- Inherited Members
Constructors
IisVirtualDirectoryCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.IisVirtualDirectoryCollection class.
public IisVirtualDirectoryCollection()
Methods
Exists(Guid)
Returns a System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.IisVirtualDirectory with the specified identifier exists within the collection.
public bool Exists(Guid identifier)
Parameters
identifier
GuidThe identifier of the CENTREL.XIA.Configuration.Types.IisVirtualDirectory to locate.
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.IisVirtualDirectory with the specified identifier exists within the collection.
Exists(string)
Returns a System.Boolean value that indicates whether a virtual directory with the specified full name exists within the collection.
public bool Exists(string fullName)
Parameters
fullName
stringThe full name of the CENTREL.XIA.Configuration.Types.IisVirtualDirectory to locate.
Returns
- bool
A System.Boolean value that indicates whether an virtual directory with the specified full name exists within the collection.
FindByFullName(string)
Returns the CENTREL.XIA.Configuration.Types.IisVirtualDirectory with the specified full name, or null if no CENTREL.XIA.Configuration.Types.IisVirtualDirectory with that full name is found.
public IisVirtualDirectory FindByFullName(string fullName)
Parameters
fullName
stringThe full name of the CENTREL.XIA.Configuration.Types.IisVirtualDirectory to locate.
Returns
- IisVirtualDirectory
The CENTREL.XIA.Configuration.Types.IisVirtualDirectory with the specified full name.
FindByIdentifier(Guid)
Returns the CENTREL.XIA.Configuration.Types.IisVirtualDirectory with the specified identifier, or null if no CENTREL.XIA.Configuration.Types.IisVirtualDirectory with that identifier is found.
public IisVirtualDirectory FindByIdentifier(Guid identifier)
Parameters
identifier
GuidThe identifier of the CENTREL.XIA.Configuration.Types.IisVirtualDirectory to locate.
Returns
- IisVirtualDirectory
The CENTREL.XIA.Configuration.Types.IisVirtualDirectory with the specified identifier.
FindByParentVirtualPath(string, string)
Returns a CENTREL.XIA.Configuration.Types.IisVirtualDirectoryCollection that contains the virtual directories with the specified parent virtual path.
public IisVirtualDirectoryCollection FindByParentVirtualPath(string siteName, string parentVirtualPath)
Parameters
siteName
stringThe name of the site in which the virtual directory resides.
parentVirtualPath
stringThe virtual path of the parent of the CENTREL.XIA.Configuration.Types.IisVirtualDirectory objects to locate.
Returns
- IisVirtualDirectoryCollection
The CENTREL.XIA.Configuration.Types.IisVirtualDirectoryCollection that contains the virtual directories with the specified parent virtual path.
Sort()
Sorts the values in the collection.
public void Sort()