Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Determines whether the collection contains the specified prefix.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Overridable Function ContainsPrefix ( _
prefix As String _
) As Boolean
public virtual bool ContainsPrefix(
string prefix
)
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)
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The prefix parameter is null reference (Nothing in Visual Basic). |