HttpHeaders.TryAddWithoutValidation Method (String, IEnumerable<String>)
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Public Function TryAddWithoutValidation ( _
name As String, _
values As IEnumerable(Of String) _
) As Boolean
'Usage
Dim instance As HttpHeaders
Dim name As String
Dim values As IEnumerable(Of String)
Dim returnValue As Boolean
returnValue = instance.TryAddWithoutValidation(name, _
values)
public bool TryAddWithoutValidation(
string name,
IEnumerable<string> values
)
public:
bool TryAddWithoutValidation(
String^ name,
IEnumerable<String^>^ values
)
member TryAddWithoutValidation :
name:string *
values:IEnumerable<string> -> bool
public function TryAddWithoutValidation(
name : String,
values : IEnumerable<String>
) : boolean
Parameters
- name
Type: System.String
- values
Type: System.Collections.Generic.IEnumerable<String>
Return Value
Type: System.Boolean