Freigeben über


FormCollection.IValueProvider.ContainsPrefix Method

Gets a value that indicates whether the value provider contains an entry that has 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 value provider contains an entry that has the specified prefix; otherwise, false.

Implements

IValueProvider.ContainsPrefix(String)

Remarks

This member is an explicit interface member implementation. It can be used only when the FormCollection instance is cast to an IValueProvider interface.

See Also

Reference

FormCollection Class

System.Web.Mvc Namespace