Share via


NameValuePairsValueProvider.GetKeysFromPrefix Method

Gets the keys from a prefix.

Namespace:  System.Web.Http.ValueProviders.Providers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Overridable Function GetKeysFromPrefix ( _
    prefix As String _
) As IDictionary(Of String, String)
'Usage
Dim instance As NameValuePairsValueProvider 
Dim prefix As String 
Dim returnValue As IDictionary(Of String, String)

returnValue = instance.GetKeysFromPrefix(prefix)
public virtual IDictionary<string, string> GetKeysFromPrefix(
    string prefix
)
public:
virtual IDictionary<String^, String^>^ GetKeysFromPrefix(
    String^ prefix
)
abstract GetKeysFromPrefix : 
        prefix:string -> IDictionary<string, string> 
override GetKeysFromPrefix : 
        prefix:string -> IDictionary<string, string> 
public function GetKeysFromPrefix(
    prefix : String
) : IDictionary<String, String>

Parameters

Return Value

Type: System.Collections.Generic.IDictionary<String, String>
The keys.

Implements

IEnumerableValueProvider.GetKeysFromPrefix(String)

See Also

Reference

NameValuePairsValueProvider Class

System.Web.Http.ValueProviders.Providers Namespace