Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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:
© 2015 Microsoft