HttpApplicationStateWrapper.Get 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過名稱或索引取得狀態物件。
多載
| 名稱 | Description |
|---|---|
| Get(Int32) |
透過索引回傳一個狀態物件。 |
| Get(String) |
會以名稱回傳一個狀態物件。 |
Get(Int32)
透過索引回傳一個狀態物件。
public:
override System::Object ^ Get(int index);
public override object Get(int index);
override this.Get : int -> obj
Public Overrides Function Get (index As Integer) As Object
參數
- index
- Int32
要取得的應用程式狀態物件的索引。
傳回
由 index所參考的物件。
例外狀況
index 超出該集合有效索引範圍。