Cuemon .NET Framework
FromNameValueCollection Method

A sequence of System.Collections.Specialized.NameValueCollection values to convert into a System.Net.WebHeaderCollection equivalent.
Converts the specified source to its equivalent System.Net.WebHeaderCollection sequence.
Syntax
'Declaration
 
Public Shared Function FromNameValueCollection( _
   ByVal source As NameValueCollection _
) As WebHeaderCollection
public static WebHeaderCollection FromNameValueCollection( 
   NameValueCollection source
)

Parameters

source
A sequence of System.Collections.Specialized.NameValueCollection values to convert into a System.Net.WebHeaderCollection equivalent.

Return Value

Exceptions
ExceptionDescription
System.ArgumentNullExceptionsource is null.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WebHeaderCollectionConverter Class
WebHeaderCollectionConverter Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback