HttpApplicationStateBase.GetKey(Int32) 方法

定义

当在派生类中重写时,按索引获取状态对象的名称。When overridden in a derived class, gets the name of a state object by index.

public:
 virtual System::String ^ GetKey(int index);
public virtual string GetKey (int index);
abstract member GetKey : int -> string
override this.GetKey : int -> string
Public Overridable 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.

异常

始终。Always.

适用于