ClassWebServiceParameterCollectionBase<T>
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Type Parameters:
T
Syntax:
public class WebServiceParameterCollectionBase<T> : Collection<T> where T : WebServiceParameter, new()
Inheritance: objectCollection<T>WebServiceParameterCollectionBase<T>
Derived Classes:
Constructors
WebServiceParameterCollectionBase()
Initializes a new instance of the WebServiceParameterCollectionBase class.
Declaration
public WebServiceParameterCollectionBase()
WebServiceParameterCollectionBase(T[])
Initializes a new instance of the WebServiceParameterCollection class.
Declaration
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
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
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
public void Add(string name, WebServiceParameterType type)
Parameters
name
string
Specifies the name of the new parameter to add to the collection.
type
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
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
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
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
public void AddRange(WebServiceParameterCollectionBase<T> parameters)
Parameters
parameters
WebServiceParameterCollectionBase<T>
Specifies a range of parameters to add to the collection.
Clone(WebServiceParameterCollectionBase<T>)
Declaration
public void Clone(WebServiceParameterCollectionBase<T> source)
Parameters
source
Contains(string)
Determines if the collection contains a parameter with the specified name.
Declaration
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
public WebServiceParameter FirstOrNullWithCaseFallback(string parameterName)
Parameters
parameterName
string
Returns
ToArray()
Converts the collection to an array of parameters.
Declaration
public WebServiceParameter[] ToArray()
Returns
Array of parameters contained in the collection.