HttpApplicationStateWrapper.GetKey(Int32) 方法
定义
按索引返回状态对象的名称。Returns the name of a state object by index.
public:
override System::String ^ GetKey(int index);
public override string GetKey (int index);
override this.GetKey : int -> string
Public Overrides Function GetKey (index As Integer) As String
参数
- index
- Int32
要获取的应用程序状态对象的索引。The index of the application state object to get.
返回
应用程序状态对象的名称。The name of the application state object.
例外
index 超出了集合的有效索引范围。index is outside the valid range of indexes for the collection.