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
Initializes a new instance of the WebServiceParameterCollectionBase class.
public WebServiceParameterCollectionBase()
Initializes a new instance of the WebServiceParameterCollection class.
public WebServiceParameterCollectionBase(T[] parameters)
Specifies a range of parameters to add to the collection.
Initializes a new instance of the WebServiceParameterCollection class.
public WebServiceParameterCollectionBase(WebServiceParameterCollectionBase<T> parameters)
Specifies a range of parameters to add to the collection.
Properties
Gets the parameter with the specified name from the collection.
public T this[string name] { get; }
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.
public void Add(string name, WebServiceParameterType type, object value)
Specifies the name of the new parameter to add to the collection.
typeWebServiceParameterTypeSpecifies the data type of the new parameter to add to the collection.
valueobjectSpecifies 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.
public void Add(string name, WebServiceParameterType type)
Specifies the name of the new parameter to add to the collection.
typeWebServiceParameterTypeSpecifies the type of the new parameter to add to the collection.
Adds a range of parameters to the collection.
public void AddRange(IEnumerable<T> parameters)
Specifies a range of parameters to add to the collection.
Adds a range of parameters to the collection.
public void AddRange(WebServiceParameterCollectionBase<T> parameters)
Specifies a range of parameters to add to the collection.
public void Clone(WebServiceParameterCollectionBase<T> source)
Contains(string)
bool
Determines if the collection contains a parameter with the specified name.
public bool Contains(string name)
Specifies the name of a parameter from the collection.
Returns:bool
True if a parameter with the specified name exists, False otherwise.
public WebServiceParameter FirstOrNullWithCaseFallback(string parameterName)
Converts the collection to an array of parameters.
public WebServiceParameter[] ToArray()
Array of parameters contained in the collection.