Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WebHeaderCollection Members

Contains protocol headers associated with a request or response.

The following tables list the members exposed by the WebHeaderCollection type.

(see also Protected Constructors )
  Name Description
Public method Supported by the .NET Compact Framework WebHeaderCollection Overloaded. Initializes a new instance of the WebHeaderCollection class.
Top
  Name Description
Protected method WebHeaderCollection Overloaded. Initializes a new instance of the WebHeaderCollection class.
Top
(see also Protected Properties )
  Name Description
Public property Supported by the .NET Compact Framework AllKeys Overridden. Gets all header names (keys) in the collection.
Public property Supported by the .NET Compact Framework Count Overridden. Gets the number of headers in the collection.
Public property Supported by the .NET Compact Framework Item Overloaded. Gets or sets the specified header.
Public property Supported by the .NET Compact Framework Keys Overridden. Gets the collection of header names (keys) in the collection.
Top
  Name Description
Protected property Supported by the .NET Compact Framework IsReadOnly  Gets or sets a value indicating whether the NameObjectCollectionBase instance is read-only.(Inherited from NameObjectCollectionBase.)
Top
(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Add Overloaded. Inserts a new header into the collection.
Public method Clear Overridden. Removes all headers from the collection.
Public method CopyTo  Copies the entire NameValueCollection to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from NameValueCollection.)
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Get Overloaded. Overridden. Get the value of a header from the collection.
Public method GetEnumerator Overridden. Returns an enumerator that can iterate through the WebHeaderCollection instance.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetKey Overridden. Get the header name at the specified position in the collection.
Public method GetObjectData Overridden. Populates a SerializationInfo with the data needed to serialize the target object.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetValues Overloaded. Overridden. Gets an array of header values stored in a header.
Public method Supported by the .NET Compact Framework HasKeys  Gets a value indicating whether the NameValueCollection contains keys that are not a null reference (Nothing in Visual Basic). (Inherited from NameValueCollection.)
Public method Static Supported by the .NET Compact Framework IsRestricted Overloaded. Tests whether the specified HTTP header can be set.
Public method OnDeserialization Overridden. Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Remove Overloaded. Removes the specified header from the collection.
Public method Supported by the .NET Compact Framework Set Overloaded. Sets the specified header to the specified value.
Public method ToByteArray Converts the WebHeaderCollection to a byte array..
Public method ToString Overridden. Obsolete.
Top
  Name Description
Protected method Supported by the .NET Compact Framework AddWithoutValidate Inserts a header into the collection without checking whether the header is on the restricted header list.
Protected method Supported by the .NET Compact Framework BaseAdd  Adds an entry with the specified key and value into the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.)
Protected method Supported by the .NET Compact Framework BaseClear  Removes all entries from the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.)
Protected method Supported by the .NET Compact Framework BaseGet  Overloaded. Gets the value of the specified entry from the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.)
Protected method Supported by the .NET Compact Framework BaseGetAllKeys  Returns a String array that contains all the keys in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.)
Protected method BaseGetAllValues  Overloaded. Returns an array that contains all the values in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.)
Protected method Supported by the .NET Compact Framework BaseGetKey  Gets the key of the entry at the specified index of the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.)
Protected method Supported by the .NET Compact Framework BaseHasKeys  Gets a value indicating whether the NameObjectCollectionBase instance contains entries whose keys are not a null reference (Nothing in Visual Basic). (Inherited from NameObjectCollectionBase.)
Protected method Supported by the .NET Compact Framework BaseRemove  Removes the entries with the specified key from the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.)
Protected method Supported by the .NET Compact Framework BaseRemoveAt  Removes the entry at the specified index of the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.)
Protected method Supported by the .NET Compact Framework BaseSet  Overloaded. Sets the value of an entry in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.)
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework InvalidateCachedArrays  Resets the cached arrays of the collection to a null reference (Nothing in Visual Basic). (Inherited from NameValueCollection.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top
  Name Description
Explicit interface implementation Method System.Runtime.Serialization.ISerializable.GetObjectData Serializes this instance into the specified SerializationInfo object.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.