C# Class System.Net.WebHeaderCollection

Inheritance: System.Collections.Specialized.NameValueCollection
Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
ISerializable void
ThrowOnRestrictedHeader void

Public Methods

Method Description
Add ( HttpRequestHeader header, string value ) : void
Add ( HttpResponseHeader header, string value ) : void
Add ( string header ) : void
Add ( string name, string value ) : void
Clear ( ) : void
Get ( int index ) : string
Get ( string name ) : string
GetEnumerator ( ) : IEnumerator
GetEnumerator ( ) : System.Collections.IEnumerator
GetKey ( int index ) : string
GetObjectData ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
GetObjectData ( System serializationInfo, System streamingContext ) : void
GetValues ( int index ) : string[]
GetValues ( string header ) : string[]
IsRestricted ( string headerName ) : bool
IsRestricted ( string headerName, bool response ) : bool
OnDeserialization ( object sender ) : void
Remove ( HttpRequestHeader header ) : void
Remove ( HttpResponseHeader header ) : void
Remove ( string name ) : void
Set ( HttpRequestHeader header, string value ) : void
Set ( HttpResponseHeader header, string value ) : void
Set ( string name, string value ) : void
System ( System serializationInfo, System streamingContext ) : void
ToByteArray ( ) : byte[]
ToString ( ) : string
WebHeaderCollection ( )
WebHeaderCollection ( ) : System.Collections
this ( HttpRequestHeader header ) : string
this ( HttpResponseHeader header ) : string
this ( System header ) : string
this ( string name ) : string

Protected Methods

Method Description
AddWithoutValidate ( string headerName, string headerValue ) : void
WebHeaderCollection ( System serializationInfo, System streamingContext )
WebHeaderCollection ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System.Collections

Private Methods

Method Description
ISerializable ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
ThrowOnRestrictedHeader ( string headerName ) : void

Method Details

Add() public method

public Add ( HttpRequestHeader header, string value ) : void
header HttpRequestHeader
value string
return void

Add() public method

public Add ( HttpResponseHeader header, string value ) : void
header HttpResponseHeader
value string
return void

Add() public method

public Add ( string header ) : void
header string
return void

Add() public method

public Add ( string name, string value ) : void
name string
value string
return void

AddWithoutValidate() protected method

protected AddWithoutValidate ( string headerName, string headerValue ) : void
headerName string
headerValue string
return void

Clear() public method

public Clear ( ) : void
return void

Get() public method

public Get ( int index ) : string
index int
return string

Get() public method

public Get ( string name ) : string
name string
return string

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetEnumerator() public method

public GetEnumerator ( ) : System.Collections.IEnumerator
return System.Collections.IEnumerator

GetKey() public method

public GetKey ( int index ) : string
index int
return string

GetObjectData() public method

public GetObjectData ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
serializationInfo SerializationInfo
streamingContext StreamingContext
return void

GetObjectData() public method

public GetObjectData ( System serializationInfo, System streamingContext ) : void
serializationInfo System
streamingContext System
return void

GetValues() public method

public GetValues ( int index ) : string[]
index int
return string[]

GetValues() public method

public GetValues ( string header ) : string[]
header string
return string[]

IsRestricted() public static method

public static IsRestricted ( string headerName ) : bool
headerName string
return bool

IsRestricted() public static method

public static IsRestricted ( string headerName, bool response ) : bool
headerName string
response bool
return bool

OnDeserialization() public method

public OnDeserialization ( object sender ) : void
sender object
return void

Remove() public method

public Remove ( HttpRequestHeader header ) : void
header HttpRequestHeader
return void

Remove() public method

public Remove ( HttpResponseHeader header ) : void
header HttpResponseHeader
return void

Remove() public method

public Remove ( string name ) : void
name string
return void

Set() public method

public Set ( HttpRequestHeader header, string value ) : void
header HttpRequestHeader
value string
return void

Set() public method

public Set ( HttpResponseHeader header, string value ) : void
header HttpResponseHeader
value string
return void

Set() public method

public Set ( string name, string value ) : void
name string
value string
return void

System() public method

public System ( System serializationInfo, System streamingContext ) : void
serializationInfo System
streamingContext System
return void

ToByteArray() public method

public ToByteArray ( ) : byte[]
return byte[]

ToString() public method

public ToString ( ) : string
return string

WebHeaderCollection() public method

public WebHeaderCollection ( )

WebHeaderCollection() protected method

protected WebHeaderCollection ( System serializationInfo, System streamingContext )
serializationInfo System
streamingContext System

WebHeaderCollection() public method

public WebHeaderCollection ( ) : System.Collections
return System.Collections

WebHeaderCollection() protected method

protected WebHeaderCollection ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System.Collections
serializationInfo SerializationInfo
streamingContext StreamingContext
return System.Collections

this() public method

public this ( HttpRequestHeader header ) : string
header HttpRequestHeader
return string

this() public method

public this ( HttpResponseHeader header ) : string
header HttpResponseHeader
return string

this() public method

public this ( System header ) : string
header System
return string

this() public method

public this ( string name ) : string
name string
return string