HttpSessionStateWrapper.GetEnumerator 方法

定义

返回一个枚举器,它可用于读取当前会话中的所有会话状态变量名称。Returns an enumerator that can be used to read all the session-state variable names in the current session.

public:
 override System::Collections::IEnumerator ^ GetEnumerator();
public override System.Collections.IEnumerator GetEnumerator ();
override this.GetEnumerator : unit -> System.Collections.IEnumerator
Public Overrides Function GetEnumerator () As IEnumerator

返回

IEnumerator

一个枚举器,它可循环访问会话状态集合中的变量名称。An enumerator that can iterate through the variable names in the session-state collection.

适用于