HttpHeaderValueCollection<T>::TryParseAdd Method (String^)

.NET Framework (current version)
 

Determines whether the input could be parsed and added to the HttpHeaderValueCollection<T>.

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

public:
bool TryParseAdd(
	String^ input
)

Parameters

input
Type: System::String^

The entry to validate.

Return Value

Type: System::Boolean

true if the input could be parsed and added to the HttpHeaderValueCollection<T> instance; otherwise, false

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: