Class
WebServiceParameterCollectionBase<T>

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Type Parameters:

T

Syntax:

cs-api-definition
public class WebServiceParameterCollectionBase<T> : Collection<T> where T : WebServiceParameter, new()

Inheritance: objectCollection<T>WebServiceParameterCollectionBase<T>

Derived Classes: GraphQLParameterCollectionWebServiceParameterCollection

Constructors

WebServiceParameterCollectionBase()

Initializes a new instance of the WebServiceParameterCollectionBase class.

Declaration

cs-api-definition
public WebServiceParameterCollectionBase()

WebServiceParameterCollectionBase(T[])

Initializes a new instance of the WebServiceParameterCollection class.

Declaration

cs-api-definition
public WebServiceParameterCollectionBase(T[] parameters)

Parameters

parameters

T[]

Specifies a range of parameters to add to the collection.

WebServiceParameterCollectionBase(WebServiceParameterCollectionBase<T>)

Initializes a new instance of the WebServiceParameterCollection class.

Declaration

cs-api-definition
public WebServiceParameterCollectionBase(WebServiceParameterCollectionBase<T> parameters)

Parameters

parameters

WebServiceParameterCollectionBase<T>

Specifies a range of parameters to add to the collection.

Properties

this[string]

Gets the parameter with the specified name from the collection.

Declaration

cs-api-definition
public T this[string name] { get; }

Parameters

name

string

Specifies the name of a parameter from the collection.

Property Value

T

The parameter with the specified name from the collection.

Methods

Add(string, WebServiceParameterType)

Adds a new parameter with the specified name and data type to the collection.

Declaration

cs-api-definition
public void Add(string name, WebServiceParameterType type)

Parameters

name

string

Specifies the name of the new parameter to add to the collection.

type

WebServiceParameterType

Specifies the type of the new parameter to add to the collection.

Add(string, WebServiceParameterType, object)

Adds a new parameter with the specified name, data type and value to the collection.

Declaration

cs-api-definition
public void Add(string name, WebServiceParameterType type, object value)

Parameters

name

string

Specifies the name of the new parameter to add to the collection.

type

WebServiceParameterType

Specifies the data type of the new parameter to add to the collection.

value

object

Specifies the value of the new parameter to add to the collection.

AddRange(IEnumerable<T>)

Adds a range of parameters to the collection.

Declaration

cs-api-definition
public void AddRange(IEnumerable<T> parameters)

Parameters

parameters

IEnumerable<T>

Specifies a range of parameters to add to the collection.

AddRange(WebServiceParameterCollectionBase<T>)

Adds a range of parameters to the collection.

Declaration

cs-api-definition
public void AddRange(WebServiceParameterCollectionBase<T> parameters)

Parameters

parameters

WebServiceParameterCollectionBase<T>

Specifies a range of parameters to add to the collection.

Clone(WebServiceParameterCollectionBase<T>)

Declaration

cs-api-definition
public void Clone(WebServiceParameterCollectionBase<T> source)

Parameters

source

WebServiceParameterCollectionBase<T>

Contains(string)

Determines if the collection contains a parameter with the specified name.

Declaration

cs-api-definition
public bool Contains(string name)

Parameters

name

string

Specifies the name of a parameter from the collection.

Returns

bool

True if a parameter with the specified name exists, False otherwise.

FirstOrNullWithCaseFallback(string)

Declaration

cs-api-definition
public WebServiceParameter FirstOrNullWithCaseFallback(string parameterName)

Parameters

parameterName

string

Returns

WebServiceParameter

ToArray()

Converts the collection to an array of parameters.

Declaration

cs-api-definition
public WebServiceParameter[] ToArray()

Returns

WebServiceParameter[]

Array of parameters contained in the collection.