SqlParameterCollection Class

Definition

Represents a collection of parameters associated with SqlQuerySpec for use in the Azure DocumentDB database service.

public sealed class SqlParameterCollection : System.Collections.Generic.ICollection<Microsoft.Azure.Documents.SqlParameter>, System.Collections.Generic.IEnumerable<Microsoft.Azure.Documents.SqlParameter>, System.Collections.Generic.IList<Microsoft.Azure.Documents.SqlParameter>
Inheritance
SqlParameterCollection
Implements

Constructors

SqlParameterCollection()

Initialize a new instance of the SqlParameterCollection class for the Azure DocumentDB database service.

SqlParameterCollection(IEnumerable<SqlParameter>)

Initializes a new instance of the SqlParameterCollection class for the Azure DocumentDB database service.

Properties

Count

Gets the number of elements contained in the Azure DocumentDB collection.

IsReadOnly

Gets a value indicating whether the Azure DocumentDB collection is read-only.

Item[Int32]

Gets or sets the element at the specified index in the Azure DocumentDB collection.

Methods

Add(SqlParameter)

Adds an item to the Azure DocumentDB collection.

Clear()

Removes all items from the Azure DocumentDB collection.

Contains(SqlParameter)

Determines whether the Azure DocumentDB collection contains a specific value.

CopyTo(SqlParameter[], Int32)

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

GetEnumerator()

Returns an enumerator that iterates through the Azure DocumentDB collection.

IndexOf(SqlParameter)

Determines the index of a specific item in the Azure DocumentDB collection.

Insert(Int32, SqlParameter)

Inserts an item at the specified index in the Azure DocumentDB collection.

Remove(SqlParameter)

/// Removes the first occurrence of a specific object from the Azure DocumentDB collection.

RemoveAt(Int32)

Removes the item at the specified index from the Azure DocumentDB collection.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the Azure DocumentDB collection.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)