Class WebServiceParameterCollection
Represents a collection of WebServiceParameter objects.
Inheritance
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class WebServiceParameterCollection : Collection<WebServiceParameter>, IList<WebServiceParameter>, ICollection<WebServiceParameter>, IList, ICollection, IReadOnlyList<WebServiceParameter>, IReadOnlyCollection<WebServiceParameter>, IEnumerable<WebServiceParameter>, IEnumerable
Constructors
WebServiceParameterCollection()
Initializes a new instance of the WebServiceParameterCollection class.
Declaration
public WebServiceParameterCollection()
WebServiceParameterCollection(WebServiceParameter[])
Initializes a new instance of the WebServiceParameterCollection class.
Declaration
public WebServiceParameterCollection(WebServiceParameter[] parameters)
Parameters
WebServiceParameter[]
parameters
Specifies a range of parameters to add to the collection. |
WebServiceParameterCollection(WebServiceParameterCollection)
Initializes a new instance of the WebServiceParameterCollection class.
Declaration
public WebServiceParameterCollection(WebServiceParameterCollection parameters)
Parameters
WebServiceParameterCollection
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 WebServiceParameter this[string name] { get; }
Parameters
System.String
name
Specifies the name of a parameter from the collection. |
Property Value
WebServiceParameter
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<WebServiceParameter>)
Adds a range of parameters to the collection.
Declaration
public void AddRange(IEnumerable<WebServiceParameter> parameters)
Parameters
System.Collections.Generic.IEnumerable<WebServiceParameter>
parameters
Specifies a range of parameters to add to the collection. |
AddRange(WebServiceParameterCollection)
Adds a range of parameters to the collection.
Declaration
public void AddRange(WebServiceParameterCollection parameters)
Parameters
WebServiceParameterCollection
parameters
Specifies a range of parameters to add to the collection. |
Clone(WebServiceParameterCollection)
Declaration
public void Clone(WebServiceParameterCollection source)
Parameters
WebServiceParameterCollection
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. |