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
- name
Type: System.String
- value
Type: System.String
Return Value
Type: System.Boolean