HttpHeaderValueCollection<T>.TryParseAdd(String) Method

Definition

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

public:
 bool TryParseAdd(System::String ^ input);
public bool TryParseAdd (string input);
public bool TryParseAdd (string? input);
member this.TryParseAdd : string -> bool
Public Function TryParseAdd (input As String) As Boolean

Parameters

input
String

The entry to validate.

Returns

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

Applies to