Jaa


ServerPropertyCollection Class

Definition

Represents a collection of ServerProperty objects. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("52478F9D-620A-4fc4-98F4-E594BEA9E676")]
public sealed class ServerPropertyCollection : System.Collections.IList
[<System.Runtime.InteropServices.Guid("52478F9D-620A-4fc4-98F4-E594BEA9E676")>]
type ServerPropertyCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public NotInheritable Class ServerPropertyCollection
Implements IList
Inheritance
ServerPropertyCollection
Attributes
Implements

Constructors

ServerPropertyCollection()

Properties

Count

Gets the number of elements contained in the collection.

Item[Int32]

Gets the ServerProperty element at the specified index.

Item[String]

Gets the ServerProperty element with the specified name.

Methods

Add(ServerProperty)

Adds the specified ServerProperty to the end of the collection.

Add(String, String)

Creates a new ServerProperty object using the name and value provided, adds it to the collection and returns the new ServerProperty object created.

Clear()

Removes all items from the collection.

Contains(ServerProperty)

Determines whether the specified ServerProperty exists in the collection.

Contains(String)

Determines whether a ServerProperty with the specified Name exists in the collection.

CopyTo(Array, Int32)

Copies the elements of the collection to an Array, starting at a particular Array index.

CopyTo(ServerPropertyCollection)

Copies the elements from this collection to another.

Find(String)

Searches for the ServerProperty with the specified Name and returns it.

IndexOf(ServerProperty)

Searches for the specified ServerProperty and returns its zero-based index within the collection.

IndexOf(String)

Searches for the specified ServerProperty with the specified Name and returns its zero-based index within the collection.

Insert(Int32, ServerProperty)

Inserts the specified ServerProperty to the collection at the specified index.

Insert(Int32, String, String)

Creates a new ServerProperty object using the name and value provided, inserts it to the collection at the specified index, and returns the new ServerProperty object created.

Remove(ServerProperty)

Removes the specified ServerProperty from this collection.

Remove(String)

Removes the ServerProperty with the specified Name from this collection.

RemoveAt(Int32)

Removes the ServerProperty at the specified index.

Explicit Interface Implementations

ICollection.IsSynchronized
ICollection.SyncRoot
IEnumerable.GetEnumerator()
IList.Add(Object)
IList.Contains(Object)
IList.IndexOf(Object)
IList.Insert(Int32, Object)
IList.IsFixedSize
IList.IsReadOnly
IList.Item[Int32]
IList.Remove(Object)

Applies to