Share via


IValueProvider.ContainsPrefix Method

Determines whether the collection contains the specified prefix.

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

Syntax

'Declaration
Function ContainsPrefix ( _
    prefix As String _
) As Boolean
'Usage
Dim instance As IValueProvider
Dim prefix As String
Dim returnValue As Boolean

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

Parameters

Return Value

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

See Also

Reference

IValueProvider Interface

System.Web.Http.ValueProviders Namespace