C# Class System.Collections.Specialized.NameValueCollection

Inheritance: NameObjectCollectionBase
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Add ( NameValueCollection c ) : void
Add ( String name, String value ) : void
Add ( System c ) : void
Add ( string name, string value ) : void
Clear ( ) : void
CopyTo ( Array dest, int index ) : void
CopyTo ( System dest, int index ) : void
Get ( String name ) : String
Get ( int index ) : String
Get ( int index ) : string
Get ( string name ) : string
GetKey ( int index ) : String
GetKey ( int index ) : string
GetValues ( String name ) : String[]
GetValues ( int index ) : String[]
GetValues ( int index ) : string[]
GetValues ( string name ) : string[]
HasKeys ( ) : bool
NameValueCollection ( )
NameValueCollection ( System equalityComparer )
NameValueCollection ( int capacity )
NameValueCollection ( int capacity, System equalityComparer )
NameValueCollection ( ) : System.Runtime.Serialization
NameValueCollection ( IEqualityComparer equalityComparer ) : System.Runtime.Serialization
NameValueCollection ( Int32 capacity, IEqualityComparer equalityComparer ) : System.Runtime.Serialization
NameValueCollection ( NameValueCollection col ) : System.Runtime.Serialization
NameValueCollection ( int capacity ) : System.Runtime.Serialization
NameValueCollection ( int capacity, NameValueCollection col ) : System.Runtime.Serialization
Remove ( String name ) : void
Remove ( string name ) : void
Set ( String name, String value ) : void
Set ( string name, string value ) : void
this ( String name ) : String
this ( int index ) : String
this ( int index ) : string
this ( string name ) : string

Protected Methods

Method Description
InvalidateCachedArrays ( ) : void
NameValueCollection ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization

Private Methods

Method Description
GetAsOneString ( ArrayList list ) : String
GetAsStringArray ( ArrayList list ) : String[]
InternalHasKeys ( ) : bool
NameValueCollection ( System hashProvider, System comparer )
NameValueCollection ( int capacity, System hashProvider, System comparer )
NameValueCollection ( IHashCodeProvider hashProvider, IComparer comparer ) : System.Runtime.Serialization
NameValueCollection ( int capacity, IHashCodeProvider hashProvider, IComparer comparer ) : System.Runtime.Serialization

Method Details

Add() public method

public Add ( NameValueCollection c ) : void
c NameValueCollection
return void

Add() public method

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

Add() public method

public Add ( System c ) : void
c System
return void

Add() public method

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

Clear() public method

public Clear ( ) : void
return void

CopyTo() public method

public CopyTo ( Array dest, int index ) : void
dest Array
index int
return void

CopyTo() public method

public CopyTo ( System dest, int index ) : void
dest System
index int
return void

Get() public method

public Get ( String name ) : String
name String
return String

Get() public method

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

Get() public method

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

Get() public method

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

GetKey() public method

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

GetKey() public method

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

GetValues() public method

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

GetValues() public method

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

GetValues() public method

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

GetValues() public method

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

HasKeys() public method

public HasKeys ( ) : bool
return bool

InvalidateCachedArrays() protected method

protected InvalidateCachedArrays ( ) : void
return void

NameValueCollection() public method

public NameValueCollection ( )

NameValueCollection() public method

public NameValueCollection ( System equalityComparer )
equalityComparer System

NameValueCollection() public method

public NameValueCollection ( int capacity )
capacity int

NameValueCollection() public method

public NameValueCollection ( int capacity, System equalityComparer )
capacity int
equalityComparer System

NameValueCollection() public method

public NameValueCollection ( ) : System.Runtime.Serialization
return System.Runtime.Serialization

NameValueCollection() public method

public NameValueCollection ( IEqualityComparer equalityComparer ) : System.Runtime.Serialization
equalityComparer IEqualityComparer
return System.Runtime.Serialization

NameValueCollection() public method

public NameValueCollection ( Int32 capacity, IEqualityComparer equalityComparer ) : System.Runtime.Serialization
capacity Int32
equalityComparer IEqualityComparer
return System.Runtime.Serialization

NameValueCollection() public method

public NameValueCollection ( NameValueCollection col ) : System.Runtime.Serialization
col NameValueCollection
return System.Runtime.Serialization

NameValueCollection() protected method

protected NameValueCollection ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System.Runtime.Serialization

NameValueCollection() public method

public NameValueCollection ( int capacity ) : System.Runtime.Serialization
capacity int
return System.Runtime.Serialization

NameValueCollection() public method

public NameValueCollection ( int capacity, NameValueCollection col ) : System.Runtime.Serialization
capacity int
col NameValueCollection
return System.Runtime.Serialization

Remove() public method

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

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

Set() public method

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

this() public method

public this ( String name ) : String
name String
return String

this() public method

public this ( int index ) : String
index int
return String

this() public method

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

this() public method

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