Class IisLoggingCustomFieldCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of IIS logging custom fields.
public class IisLoggingCustomFieldCollection : Collection<IisLoggingCustomField>, IList<IisLoggingCustomField>, ICollection<IisLoggingCustomField>, IList, ICollection, IReadOnlyList<IisLoggingCustomField>, IReadOnlyCollection<IisLoggingCustomField>, IEnumerable<IisLoggingCustomField>, IEnumerable
- Inheritance
-
IisLoggingCustomFieldCollection
- Implements
- Inherited Members
Constructors
IisLoggingCustomFieldCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.IisLoggingCustomFieldCollection class.
public IisLoggingCustomFieldCollection()
Methods
Exists(string)
Returns a System.Boolean value that indicates whether a custom field with the specified name exists within the collection.
public bool Exists(string fieldName)
Parameters
fieldName
stringThe field name of the CENTREL.XIA.Configuration.Types.IisLoggingCustomField to locate.
Returns
- bool
A System.Boolean value that indicates whether a custom field with the specified field name exists within the collection.
FindByFieldName(string)
Returns the CENTREL.XIA.Configuration.Types.IisLoggingCustomField with the specified field name, or null if no CENTREL.XIA.Configuration.Types.IisLoggingCustomField with that field name is found.
public IisLoggingCustomField FindByFieldName(string fieldName)
Parameters
fieldName
stringThe field name of the CENTREL.XIA.Configuration.Types.IisLoggingCustomField to locate.
Returns
- IisLoggingCustomField
The CENTREL.XIA.Configuration.Types.IisLoggingCustomField with the specified field name.
Sort()
Sorts the values in the collection.
public void Sort()
ToString()
Returns the custom fields as a human readable string.
public override string ToString()
Returns
- string
The custom fields as a human readable string.