C# Класс MdxClient.MdxParameterCollection

Наследование: System.Data.Common.DbParameterCollection
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( MdxParameter value ) : MdxParameter

Adds an MdxParameter object to the MdxParameterCollection collection.

Add ( string parameterName, object value ) : MdxParameter

Creates a new MdxParameter object with the specified name and value and adds it to the collection.

AddRange ( Array values ) : void

Adds an array of items with the specified values to the MdxParameterCollection.

AddRange ( MdxParameter values ) : void

Adds an array of items with the specified values to the MdxParameterCollection.

Clear ( ) : void

Removes all the MdxParameter objects from the MdxParameterCollection.

Contains ( MdxParameter value ) : bool

Indicates whether an MdxParameter with the specified property exists in the collection.

Contains ( object value ) : bool

Indicates whether an MdxParameter with the specified property exists in the collection.

Contains ( string value ) : bool

Indicates whether an MdxParameter with the specified name exists in the collection.

CopyTo ( Array array, int index ) : void

Copies an array of items to the collection starting at the specified index.

CopyTo ( MdxParameter array, int index ) : void

Copies an array of items to the collection starting at the specified index.

GetEnumerator ( ) : IEnumerator

Exposes the GetEnumerator method, which supports a simple iteration over a collection by a .NET Framework data provider.

IndexOf ( MdxParameter value ) : int

Returns the index of the specified MdxParameter object.

IndexOf ( object value ) : int

Returns the index of the specified MdxParameter object.

IndexOf ( string parameterName ) : int

Returns the index of the specified MdxParameter object.

Insert ( int index, MdxParameter value ) : void
Insert ( int index, object value ) : void

Inserts the specified index of the MdxParameter object with the specified name into the collection at the specified index.

Remove ( MdxParameter value ) : void

Removes the specified MdxParameter object from the collection.

Remove ( object value ) : void

Removes the specified MdxParameter object from the collection.

RemoveAt ( int index ) : void

Removes the MdxParameter object at the specified from the collection.

RemoveAt ( string parameterName ) : void

Removes a specified MdxParameter object from the collection.

Защищенные методы

Метод Описание
GetParameter ( int index ) : DbParameter
GetParameter ( string parameterName ) : DbParameter
SetParameter ( int index, DbParameter value ) : void
SetParameter ( string parameterName, DbParameter value ) : void

Приватные методы

Метод Описание
Add ( object value ) : int
Find ( string parameterName ) : MdxParameter
MdxParameterCollection ( ) : System
RangeCheck ( string parameterName ) : int
RangeCheck ( int index ) : void
RemoveIndex ( int index ) : void
Replace ( int index, MdxParameter newValue ) : void
Validate ( int index, MdxParameter value ) : void
ValidateType ( object value ) : void

Описание методов

Add() публичный Метод

Adds an MdxParameter object to the MdxParameterCollection collection.
public Add ( MdxParameter value ) : MdxParameter
value MdxParameter The MdxParameter object to be added.
Результат MdxParameter

Add() публичный Метод

Creates a new MdxParameter object with the specified name and value and adds it to the collection.
public Add ( string parameterName, object value ) : MdxParameter
parameterName string The name of the MdxParameter to add.
value object The value of the MdxParameter object to be created.
Результат MdxParameter

AddRange() публичный Метод

Adds an array of items with the specified values to the MdxParameterCollection.
public AddRange ( Array values ) : void
values System.Array An array of values of type MdxParameter to add to the collection.
Результат void

AddRange() публичный Метод

Adds an array of items with the specified values to the MdxParameterCollection.
public AddRange ( MdxParameter values ) : void
values MdxParameter An array of values of type MdxParameter to add to the collection.
Результат void

Clear() публичный Метод

Removes all the MdxParameter objects from the MdxParameterCollection.
public Clear ( ) : void
Результат void

Contains() публичный Метод

Indicates whether an MdxParameter with the specified property exists in the collection.
public Contains ( MdxParameter value ) : bool
value MdxParameter The value of the MdxParameter to look for in the collection.
Результат bool

Contains() публичный Метод

Indicates whether an MdxParameter with the specified property exists in the collection.
public Contains ( object value ) : bool
value object The value of the MdxParameter to look for in the collection.
Результат bool

Contains() публичный Метод

Indicates whether an MdxParameter with the specified name exists in the collection.
public Contains ( string value ) : bool
value string The name of the MdxParameter to look for in the collection.
Результат bool

CopyTo() публичный Метод

Copies an array of items to the collection starting at the specified index.
public CopyTo ( Array array, int index ) : void
array System.Array The array of items to copy to the collection.
index int The index in the collection to copy the items.
Результат void

CopyTo() публичный Метод

Copies an array of items to the collection starting at the specified index.
public CopyTo ( MdxParameter array, int index ) : void
array MdxParameter The array of items to copy to the collection.
index int The index in the collection to copy the items.
Результат void

GetEnumerator() публичный Метод

Exposes the GetEnumerator method, which supports a simple iteration over a collection by a .NET Framework data provider.
public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

GetParameter() защищенный Метод

protected GetParameter ( int index ) : DbParameter
index int
Результат System.Data.Common.DbParameter

GetParameter() защищенный Метод

protected GetParameter ( string parameterName ) : DbParameter
parameterName string
Результат System.Data.Common.DbParameter

IndexOf() публичный Метод

Returns the index of the specified MdxParameter object.
public IndexOf ( MdxParameter value ) : int
value MdxParameter The MdxParameter object in the collection.
Результат int

IndexOf() публичный Метод

Returns the index of the specified MdxParameter object.
public IndexOf ( object value ) : int
value object The MdxParameter object in the collection.
Результат int

IndexOf() публичный Метод

Returns the index of the specified MdxParameter object.
public IndexOf ( string parameterName ) : int
parameterName string The name of the MdxParameter object in the collection.
Результат int

Insert() публичный Метод

public Insert ( int index, MdxParameter value ) : void
index int
value MdxParameter
Результат void

Insert() публичный Метод

Inserts the specified index of the MdxParameter object with the specified name into the collection at the specified index.
public Insert ( int index, object value ) : void
index int The index at which to insert the MdxParameter object.
value object The MdxParameter object to insert into the collection.
Результат void

Remove() публичный Метод

Removes the specified MdxParameter object from the collection.
public Remove ( MdxParameter value ) : void
value MdxParameter The MdxParameter object to remove.
Результат void

Remove() публичный Метод

Removes the specified MdxParameter object from the collection.
public Remove ( object value ) : void
value object The MdxParameter object to remove.
Результат void

RemoveAt() публичный Метод

Removes the MdxParameter object at the specified from the collection.
public RemoveAt ( int index ) : void
index int The index where the MdxParameter object is located.
Результат void

RemoveAt() публичный Метод

Removes a specified MdxParameter object from the collection.
public RemoveAt ( string parameterName ) : void
parameterName string The name of the MdxParameter object to remove.
Результат void

SetParameter() защищенный Метод

protected SetParameter ( int index, DbParameter value ) : void
index int
value System.Data.Common.DbParameter
Результат void

SetParameter() защищенный Метод

protected SetParameter ( string parameterName, DbParameter value ) : void
parameterName string
value System.Data.Common.DbParameter
Результат void