|
|
|
|
你现在的位置:您现在的位置是: 中国ASP>>ASP教程>>ASP对象 |
|
| asp:Session StaticObjects 集合 |
|
StaticObjects 集合包含 Session 对象范围中用 <OBJECT> 标记创建的所有对象。该集合可用于确定对象特定属性的值,或用于遍历集合并获取所有对象的全部属性。
语法 Session.StaticObjects( Key )
参数 Key 要检索的属性。 注释 使用循环控制结构可以遍历 StaticObjects 集合中的关键字。请看下面的示例。
<% Dim objprop For Each objprop in Session.StaticObjects Response.write(objproperty & " : " & Session.StaticObjects(objprop) & "<BR>") Next %>
|
|
|