ValueProviderCollection.ContainsPrefix Method

Determines whether the collection contains the specified prefix.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Overridable Function ContainsPrefix ( _
    prefix As String _
) As Boolean
'Usage
Dim instance As ValueProviderCollection 
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

ValueProviderCollection Class

System.Web.Mvc Namespace