C# Class System.Net.WebHeaderCollection

Inheritance: System.Collections.Specialized.NameValueCollection
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
ISerializable void
ThrowOnRestrictedHeader void

Méthodes publiques

Méthode 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

Méthodes protégées

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

Private Methods

Méthode Description
ISerializable ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
ThrowOnRestrictedHeader ( string headerName ) : void

Method Details

Add() public méthode

public Add ( HttpRequestHeader header, string value ) : void
header HttpRequestHeader
value string
Résultat void

Add() public méthode

public Add ( HttpResponseHeader header, string value ) : void
header HttpResponseHeader
value string
Résultat void

Add() public méthode

public Add ( string header ) : void
header string
Résultat void

Add() public méthode

public Add ( string name, string value ) : void
name string
value string
Résultat void

AddWithoutValidate() protected méthode

protected AddWithoutValidate ( string headerName, string headerValue ) : void
headerName string
headerValue string
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Get() public méthode

public Get ( int index ) : string
index int
Résultat string

Get() public méthode

public Get ( string name ) : string
name string
Résultat string

GetEnumerator() public méthode

public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

GetEnumerator() public méthode

public GetEnumerator ( ) : System.Collections.IEnumerator
Résultat System.Collections.IEnumerator

GetKey() public méthode

public GetKey ( int index ) : string
index int
Résultat string

GetObjectData() public méthode

public GetObjectData ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
serializationInfo SerializationInfo
streamingContext StreamingContext
Résultat void

GetObjectData() public méthode

public GetObjectData ( System serializationInfo, System streamingContext ) : void
serializationInfo System
streamingContext System
Résultat void

GetValues() public méthode

public GetValues ( int index ) : string[]
index int
Résultat string[]

GetValues() public méthode

public GetValues ( string header ) : string[]
header string
Résultat string[]

IsRestricted() public static méthode

public static IsRestricted ( string headerName ) : bool
headerName string
Résultat bool

IsRestricted() public static méthode

public static IsRestricted ( string headerName, bool response ) : bool
headerName string
response bool
Résultat bool

OnDeserialization() public méthode

public OnDeserialization ( object sender ) : void
sender object
Résultat void

Remove() public méthode

public Remove ( HttpRequestHeader header ) : void
header HttpRequestHeader
Résultat void

Remove() public méthode

public Remove ( HttpResponseHeader header ) : void
header HttpResponseHeader
Résultat void

Remove() public méthode

public Remove ( string name ) : void
name string
Résultat void

Set() public méthode

public Set ( HttpRequestHeader header, string value ) : void
header HttpRequestHeader
value string
Résultat void

Set() public méthode

public Set ( HttpResponseHeader header, string value ) : void
header HttpResponseHeader
value string
Résultat void

Set() public méthode

public Set ( string name, string value ) : void
name string
value string
Résultat void

System() public méthode

public System ( System serializationInfo, System streamingContext ) : void
serializationInfo System
streamingContext System
Résultat void

ToByteArray() public méthode

public ToByteArray ( ) : byte[]
Résultat byte[]

ToString() public méthode

public ToString ( ) : string
Résultat string

WebHeaderCollection() public méthode

public WebHeaderCollection ( )

WebHeaderCollection() protected méthode

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

WebHeaderCollection() public méthode

public WebHeaderCollection ( ) : System.Collections
Résultat System.Collections

WebHeaderCollection() protected méthode

protected WebHeaderCollection ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System.Collections
serializationInfo SerializationInfo
streamingContext StreamingContext
Résultat System.Collections

this() public méthode

public this ( HttpRequestHeader header ) : string
header HttpRequestHeader
Résultat string

this() public méthode

public this ( HttpResponseHeader header ) : string
header HttpResponseHeader
Résultat string

this() public méthode

public this ( System header ) : string
header System
Résultat string

this() public méthode

public this ( string name ) : string
name string
Résultat string