Share via


HttpHeaders.TryAddWithoutValidation Method (String, String)

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

Syntax

'Declaration
Public Function TryAddWithoutValidation ( _
    name As String, _
    value As String _
) As Boolean
'Usage
Dim instance As HttpHeaders 
Dim name As String 
Dim value As String 
Dim returnValue As Boolean 

returnValue = instance.TryAddWithoutValidation(name, _
    value)
public bool TryAddWithoutValidation(
    string name,
    string value
)
public:
bool TryAddWithoutValidation(
    String^ name, 
    String^ value
)
member TryAddWithoutValidation : 
        name:string * 
        value:string -> bool
public function TryAddWithoutValidation(
    name : String, 
    value : String
) : boolean

Parameters

Return Value

Type: System.Boolean

See Also

Reference

HttpHeaders Class

TryAddWithoutValidation Overload

System.Net.Http.Headers Namespace