Click or drag to resize

StringCollection Class

List of strings annotated for more terse serialization.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionString
    NLog.LogReceiverServiceStringCollection

Namespace:  NLog.LogReceiverService
Assembly:  NLog.Wcf (in NLog.Wcf.dll) Version: 5.2.1+bb45a7652322449cc5d22f0e8ecf7e119c124ca2
Syntax
public class StringCollection : Collection<string>

The StringCollection type exposes the following members.

Constructors
  NameDescription
Public methodStringCollection
Initializes a new instance of the StringCollection class.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements actually contained in the CollectionT.
(Inherited from CollectionString.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionString.)
Protected propertyItems
Gets a IListT wrapper around the CollectionT.
(Inherited from CollectionString.)
Top
Methods
  NameDescription
Public methodAdd
Adds an object to the end of the CollectionT.
(Inherited from CollectionString.)
Public methodClear
Removes all elements from the CollectionT.
(Inherited from CollectionString.)
Protected methodClearItems
Removes all elements from the CollectionT.
(Inherited from CollectionString.)
Public methodContains
Determines whether an element is in the CollectionT.
(Inherited from CollectionString.)
Public methodCopyTo
Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionString.)
Public methodGetEnumerator
Returns an enumerator that iterates through the CollectionT.
(Inherited from CollectionString.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionString.)
Public methodInsert
Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionString.)
Protected methodInsertItem
Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionString.)
Public methodRemove
Removes the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionString.)
Public methodRemoveAt
Removes the element at the specified index of the CollectionT.
(Inherited from CollectionString.)
Protected methodRemoveItem
Removes the element at the specified index of the CollectionT.
(Inherited from CollectionString.)
Protected methodSetItem
Replaces the element at the specified index.
(Inherited from CollectionString.)
Top
See Also