Partager via


HttpHeaders.GetValues Method

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

Syntax

'Declaration
Public Function GetValues ( _
    name As String _
) As IEnumerable(Of String)
'Usage
Dim instance As HttpHeaders 
Dim name As String 
Dim returnValue As IEnumerable(Of String)

returnValue = instance.GetValues(name)
public IEnumerable<string> GetValues(
    string name
)
public:
IEnumerable<String^>^ GetValues(
    String^ name
)
member GetValues : 
        name:string -> IEnumerable<string> 
public function GetValues(
    name : String
) : IEnumerable<String>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<String>
Returns <see cref="T:System.Collections.Generic.IEnumerable`1" />.

See Also

Reference

HttpHeaders Class

System.Net.Http.Headers Namespace