Share via


CompositeValueProvider.GetKeysFromPrefix Method

Retrieves the keys from the specified 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 CompositeValueProvider
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

  • prefix
    Type: System.String
    The prefix from which keys are retrieved.

Return Value

Type: System.Collections.Generic.IDictionary<String, String>
The keys from the specified prefix.

Implements

IEnumerableValueProvider.GetKeysFromPrefix(String)

See Also

Reference

CompositeValueProvider Class

System.Web.Http.ValueProviders.Providers Namespace