QueryData MembersC# API

The QueryData type exposes the following members.
Constructors

  NameDescription
Public methodQueryData 
Initialises a new instance of the QueryData class, with no name/value pairs.
Public methodQueryData(String)
Initialises a new instance of the QueryData class by parsing a URL encoded string
Public methodQueryData(IntPtr, Boolean)
For internal use only. Of no interest to the user.
Back to Top
Methods

  NameDescription
Public methodAdd(String, QueryData)
Adds a name/value pair to the end of the list, using a value extracted from another QueryData object.
Public methodAdd(String, String)
Adds a name/value pair to the end of the list.
Public methodClear
Removes all of the name/value pairs from the list.
Public methodDispose
Releases all resources used by the QueryData
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet
Gets the NameValuePair at the specified index in the list.
Public methodStatic membergetCPtr
For internal use only. Of no interest to the user.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNameCount
Gets the number of name/value pairs in the list that have the specified name.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue(String)
Gets the value of the first name/value pair in the list that has the specified name.
Public methodGetValue(String, Int32)
Gets the value of the nth name/value pair in the list that has the specified name.
Public methodInsert(String, QueryData, Int32)
Inserts a name/value pair into the list at the specified index, using a value extracted from another QueryData object.
Public methodInsert(String, String, Int32)
Inserts a name/value pair into the list at the specified index.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(String)
Removes the first item in the list with the specified name.
Public methodRemove(String, Int32)
Removes the nth item in the list with the specified name.
Public methodRemove(String, String)
Removes the first item in the list with the specified name and value.
Public methodRemove(String, String, Int32)
Removes the nth item in the list with the specified name and value.
Public methodSetValue(String, String)
Sets the value of the first name/value pair in the list that has the specified name.
Public methodSetValue(String, String, Int32)
Sets the value of the nth name/value pair in the list that has the specified name.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Back to Top
Properties

  NameDescription
Public propertyCount
Gets the number of name/value pairs in the list.
Back to Top
See Also