C# Class System.Net.Mime.HeaderCollection

Inheritance: System.Collections.Specialized.NameValueCollection
显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Add ( string name, string value ) : void
Get ( string name ) : string
GetValues ( string name ) : string[]
Remove ( string name ) : void
Set ( string name, string value ) : void

Private Methods

Method Description
HeaderCollection ( ) : System.Collections.Specialized
InternalAdd ( string name, string value ) : void
InternalRemove ( string name ) : void
InternalSet ( string name, string value ) : void

Method Details

Add() public method

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

Get() public method

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

GetValues() public method

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

Remove() public method

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

Set() public method

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