HttpApplicationStateWrapper.GetKey(Int32) 方法

定義

透過索引回傳狀態物件名稱。

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

要取得的應用程式狀態物件的索引。

傳回

應用程式狀態物件的名稱。

例外狀況

index 超出該集合有效索引範圍。

適用於