Item

Contentsコレクションの値を取得


文法
Application.Contents.Item(Key)


パラメータ
Key : 変数名/インデックス


機能説明
Contentsコレクション要素の値設定


使用例
<% 'アプリケーション変数に値をセット Application.Contents.Item("UserID") = "testID" 'アプリケーション変数「UserID」の値を表示 '出力される内容は全て同じです Response.Write "アプリケーション変数 表示例1 : " & Application.Contents(1) & "<br>" & vbCrLf Response.Write "アプリケーション変数 表示例2 : " & Application("UserID") & "<br>" & vbCrLf Response.Write "アプリケーション変数 表示例3 : " & Application.Contents("UserID") & "<br>" & vbCrLf Response.Write "アプリケーション変数 表示例4 : " & Application.Contents.Item("UserID") & "<br>" & vbCrLf %>
Topへ