Export (0) Print
Expand All

NameValueCollectionValueProvider.ContainsPrefix Method

Determines whether the collection contains the specified prefix.

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

public virtual bool ContainsPrefix(
	string prefix
)

Parameters

prefix
Type: System.String
The prefix to search for.

Return Value

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

Implements

IValueProvider.ContainsPrefix(String)

ExceptionCondition
ArgumentNullException

The prefix parameter is null.

Show:
© 2014 Microsoft