DictionaryValueProvider<TValue>.ContainsPrefix Method (String)
Determines whether the collection contains the specified prefix.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
public virtual bool ContainsPrefix(
string prefix
)
public:
virtual bool ContainsPrefix(
String^ prefix
)
abstract ContainsPrefix :
prefix:string -> bool
override ContainsPrefix :
prefix:string -> bool
Public Overridable Function ContainsPrefix (
prefix As String
) As Boolean
Parameters
prefix
Type: System.StringThe prefix to search for.
Return Value
Type: System.Boolean
true if the collection contains the specified prefix; otherwise, false.
Implements
IValueProvider.ContainsPrefix(String)
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The prefix parameter is null. |
See Also
DictionaryValueProvider<TValue> Class
System.Web.Mvc Namespace
Return to top