語言

HttpHeaderValueCollection<T>.TryParseAdd(String) 方法

定義

判斷輸入是否可解析並加入 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

參數

input
String

要驗證的入口。

傳回

true 如果 可以 input 解析並加入 HttpHeaderValueCollection<T> 實例;否則, false。

適用於