QueryStringValueProvider 类

定义

表示查询字符串值的值提供程序。Represents a value provider for query-string values.

public ref class QueryStringValueProvider sealed : System::Web::ModelBinding::NameValueCollectionValueProvider
public sealed class QueryStringValueProvider : System.Web.ModelBinding.NameValueCollectionValueProvider
type QueryStringValueProvider = class
    inherit NameValueCollectionValueProvider
Public NotInheritable Class QueryStringValueProvider
Inherits NameValueCollectionValueProvider
继承
QueryStringValueProvider

构造函数

QueryStringValueProvider(ModelBindingExecutionContext)

使用执行上下文初始化 QueryStringValueProvider 类的新实例。Initializes a new instance of the QueryStringValueProvider class using the execution context.

方法

ContainsPrefix(String)

返回一个值,该值指示值提供程序是否包含指定前缀。Returns a value that indicates whether the value provider contains the specified prefix.

(继承自 NameValueCollectionValueProvider)
Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
GetValue(String)

返回指定键中的值。Returns the value for the specified key.

(继承自 NameValueCollectionValueProvider)
GetValue(String, Boolean)

返回指定的密匙和可选择使调用方可以指定是否要求验证应跳过的值。Returns the value for the specified key and optionally enables the caller to specify whether request validation should be skipped.

(继承自 NameValueCollectionValueProvider)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于