Share via


NameValuePairsValueProvider.ContainsPrefix Method

Determines whether the collection contains the specified prefix.

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

Syntax

'Declaration
Public Overridable Function ContainsPrefix ( _
    prefix As String _
) As Boolean
'Usage
Dim instance As NameValuePairsValueProvider 
Dim prefix As String 
Dim returnValue As Boolean 

returnValue = instance.ContainsPrefix(prefix)
public virtual bool ContainsPrefix(
    string prefix
)
public:
virtual bool ContainsPrefix(
    String^ prefix
)
abstract ContainsPrefix : 
        prefix:string -> bool  
override ContainsPrefix : 
        prefix:string -> bool
public function ContainsPrefix(
    prefix : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the collection contains the specified prefix; otherwise, false.

Implements

IValueProvider.ContainsPrefix(String)

See Also

Reference

NameValuePairsValueProvider Class

System.Web.Http.ValueProviders.Providers Namespace