ViewStateValueProvider 类
定义
表示视图状态的值提供程序。Represents a value provider for view state values.
public ref class ViewStateValueProvider sealed : System::Web::ModelBinding::SimpleValueProvider
public sealed class ViewStateValueProvider : System.Web.ModelBinding.SimpleValueProvider
type ViewStateValueProvider = class
inherit SimpleValueProvider
Public NotInheritable Class ViewStateValueProvider
Inherits SimpleValueProvider
- 继承
构造函数
| ViewStateValueProvider(ModelBindingExecutionContext) |
使用执行上下文初始化 ViewStateValueProvider 类的新实例。Initializes a new instance of the ViewStateValueProvider class by using the execution context. |
属性
| ModelBindingExecutionContext |
获取执行上下文。Gets the execution context. (继承自 SimpleValueProvider) |
方法
| ContainsPrefix(String) |
获取一个指示值提供程序是否包含指定前缀的值。Gets a value that indicates whether the value provider contains the specified prefix. (继承自 SimpleValueProvider) |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| FetchValue(String) |
在派生类中实现时,返回指定键的值。When implemented in a derived class, returns the value for the specified key. (继承自 SimpleValueProvider) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| GetValue(String) |
调用 FetchValue(String) 方法然后使用返回值实例化 ValueProviderResult 类的一个新的实例。Calls the FetchValue(String) method and then uses the returned value to instantiate a new instance of the ValueProviderResult class. (继承自 SimpleValueProvider) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |