Partager via


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
bool IValueProvider.ContainsPrefix(
    string prefix
)
private:
virtual bool ContainsPrefix(
    String^ prefix
) sealed = IValueProvider::ContainsPrefix

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