New to Telerik ReportingStart a free 30-day trial

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Type Parameters:

T

Syntax:

C#
public class WebServiceParameterCollectionBase<T> : Collection<T> where T : WebServiceParameter, new()

Inheritance: objectCollection<T>WebServiceParameterCollectionBase<T>

Derived Classes: GraphQLParameterCollectionWebServiceParameterCollection

Constructors

Initializes a new instance of the WebServiceParameterCollectionBase class.

C#
public WebServiceParameterCollectionBase()

Initializes a new instance of the WebServiceParameterCollection class.

C#
public WebServiceParameterCollectionBase(T[] parameters)
Parameters:parametersT[]

Specifies a range of parameters to add to the collection.

Initializes a new instance of the WebServiceParameterCollection class.

C#
public WebServiceParameterCollectionBase(WebServiceParameterCollectionBase<T> parameters)
Parameters:parametersWebServiceParameterCollectionBase<T>

Specifies a range of parameters to add to the collection.

Properties

Gets the parameter with the specified name from the collection.

C#
public T this[string name] { get; }
Parameters:namestring

Specifies the name of a parameter from the collection.

Property Value:

The parameter with the specified name from the collection.

Methods

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

C#
public void Add(string name, WebServiceParameterType type, object value)
Parameters:namestring

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

typeWebServiceParameterType

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

valueobject

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

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

C#
public void Add(string name, WebServiceParameterType type)
Parameters:namestring

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

typeWebServiceParameterType

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

Adds a range of parameters to the collection.

C#
public void AddRange(IEnumerable<T> parameters)
Parameters:parametersIEnumerable<T>

Specifies a range of parameters to add to the collection.

Adds a range of parameters to the collection.

C#
public void AddRange(WebServiceParameterCollectionBase<T> parameters)
Parameters:parametersWebServiceParameterCollectionBase<T>

Specifies a range of parameters to add to the collection.

C#
public void Clone(WebServiceParameterCollectionBase<T> source)
Parameters:sourceWebServiceParameterCollectionBase<T>

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

C#
public bool Contains(string name)
Parameters:namestring

Specifies the name of a parameter from the collection.

Returns:

bool

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

C#
public WebServiceParameter FirstOrNullWithCaseFallback(string parameterName)
Parameters:parameterNamestringReturns:

WebServiceParameter

Converts the collection to an array of parameters.

C#
public WebServiceParameter[] ToArray()
Returns:

WebServiceParameter[]

Array of parameters contained in the collection.