Class WebServiceParameterCollectionBase<T>
Inheritance
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class WebServiceParameterCollectionBase<T> : Collection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : WebServiceParameter, new()
Type Parameters
|
T
|
Constructors
WebServiceParameterCollectionBase()
Initializes a new instance of the
Declaration
public WebServiceParameterCollectionBase()
WebServiceParameterCollectionBase(T[])
Initializes a new instance of the WebServiceParameterCollection class.
Declaration
public WebServiceParameterCollectionBase(T[] parameters)
Parameters
|
T[]
parameters
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
|
WebServiceParameterCollectionBase<T>
parameters
Specifies a range of parameters to add to the collection. |
Properties
Item[String]
Gets the parameter with the specified name from the collection.
Declaration
public T this[string name] { get; }
Parameters
|
System.String
name
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
|
System.String
name
Specifies the name of the new parameter to add to the collection. |
|
WebServiceParameterType
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
|
System.String
name
Specifies the name of the new parameter to add to the collection. |
|
WebServiceParameterType
type
Specifies the data type of the new parameter to add to the collection. |
|
System.Object
value
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
|
System.Collections.Generic.IEnumerable<T>
parameters
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
|
WebServiceParameterCollectionBase<T>
parameters
Specifies a range of parameters to add to the collection. |
Clone(WebServiceParameterCollectionBase<T>)
Declaration
public void Clone(WebServiceParameterCollectionBase<T> source)
Parameters
|
WebServiceParameterCollectionBase<T>
source
|
Contains(String)
Determines if the collection contains a parameter with the specified name.
Declaration
public bool Contains(string name)
Parameters
|
System.String
name
Specifies the name of a parameter from the collection. |
Returns
|
System.Boolean
True if a parameter with the specified name exists, False otherwise. |
FirstOrNullWithCaseFallback(String)
Declaration
public WebServiceParameter FirstOrNullWithCaseFallback(string parameterName)
Parameters
|
System.String
parameterName
|
Returns
|
WebServiceParameter
|
ToArray()
Converts the collection to an array of parameters.
Declaration
public WebServiceParameter[] ToArray()
Returns
|
WebServiceParameter[]
Array of parameters contained in the collection. |