ValueProviderDictionary.IValueProvider.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
Private Function ContainsPrefix ( _
    prefix As String _
) As Boolean Implements IValueProvider.ContainsPrefix
'Usage
Dim instance As ValueProviderDictionary 
Dim prefix As String 
Dim returnValue As Boolean 

returnValue = CType(instance, IValueProvider).ContainsPrefix(prefix)
bool IValueProvider.ContainsPrefix(
    string prefix
)
private:
virtual bool ContainsPrefix(
    String^ prefix
) sealed = IValueProvider::ContainsPrefix
private abstract ContainsPrefix : 
        prefix:string -> bool  
private override ContainsPrefix : 
        prefix:string -> bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

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

Implements

IValueProvider.ContainsPrefix(String)

Remarks

This member is an explicit interface member implementation. It can be used only when a derived ValueProviderDictionary instance is cast to an IValueProvider interface.

See Also

Reference

ValueProviderDictionary Class

System.Web.Mvc Namespace