HttpHeaders.TryGetValues Method
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Public Function TryGetValues ( _
name As String, _
<OutAttribute> ByRef 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.TryGetValues(name, _
values)
public bool TryGetValues(
string name,
out IEnumerable<string> values
)
public:
bool TryGetValues(
String^ name,
[OutAttribute] IEnumerable<String^>^% values
)
member TryGetValues :
name:string *
values:IEnumerable<string> byref -> bool
public function TryGetValues(
name : String,
values : IEnumerable<String>
) : boolean
Parameters
- name
Type: System.String
- values
Type: System.Collections.Generic.IEnumerable<String>
Return Value
Type: System.Boolean
Returns Boolean.