Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Server.WebServer
- WeOnlyDo.Server.WebHeader
- WeOnlyDo.Server.WebHeaders
- WeOnlyDo.Server.WebRequest
- WeOnlyDo.Server.WebResponse
- WeOnlyDo.Server.WebSessions
- WeOnlyDo.Server.WebSessionVar
- WeOnlyDo.Server.WebSessionVars
- WeOnlyDo.Server.WebUpload
- WeOnlyDo.Server.WebUploads
- WeOnlyDo.Server.WebUser
- WeOnlyDo.Server.WebUsers
- How to get support?
Add method
Adds new session variable to the collection.
Type
WebSessionVar objectSyntax
- C#
- VB.NET
WebSessionVar Add(String Name);
The Add(Name) syntax has these parts:
WebSessionVar Add(String Name, Object Value);
The Add(Name,Value) syntax has these parts:
The Add(Name) syntax has these parts:
Name | A String value. Represents new session variable name. |
WebSessionVar Add(String Name, Object Value);
The Add(Name,Value) syntax has these parts:
Name | A String value. Represents new session variable name. |
Value | Specifies session variable value. |
Function Add(ByVal Name As String) As WebSessionVar
The Add(Name) syntax has these parts:
Function Add(ByVal Name As String, ByVal Value As Object) As WebSessionVar
The Add(Name,Value) syntax has these parts:
The Add(Name) syntax has these parts:
Name | A String value. Represents new session variable name. |
Function Add(ByVal Name As String, ByVal Value As Object) As WebSessionVar
The Add(Name,Value) syntax has these parts:
Name | A String value. Represents new session variable name. |
Value | Specifies session variable value. |
Remarks
Add method is used to add new session variable to the collection, for the user. You can use it like this:User.SessionVars.Add("MyCount").Value = 5