Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
Abandon ( ) : void |
Ends the current session.
|
|
Add ( string name, object value ) : void |
Adds a new item to the session-state collection.
|
|
Clear ( ) : void |
Clears all values from the session-state item collection.
|
|
CopyTo ( |
Copies the collection of session-state item values to a one-dimensional array, starting at the specified index in the array.
|
|
Remove ( string name ) : void |
Deletes an item from the session-state item collection.
|
|
RemoveAll ( ) : void |
Clears all values from the session-state item collection.
|
|
RemoveAt ( int index ) : void |
Deletes an item at a specified index from the session-state item collection.
|
|
this ( int index ) : object |
Gets or sets a session-state item value by numerical index.
|
|
this ( string name ) : object |
Gets or sets a session-state item value by name.
|
public Add ( string name, object value ) : void | ||
name | string | The name of the item to add to the session-state collection. |
value | object | The value of the item to add to the session-state collection. |
Результат | void |
public CopyTo ( |
||
array | The |
|
index | int | The index in array where copying starts. |
Результат | void |
public Remove ( string name ) : void | ||
name | string | The name of the item to delete from the session-state item collection. |
Результат | void |
public RemoveAt ( int index ) : void | ||
index | int | The index of the item to remove from the session-state collection. |
Результат | void |
public this ( int index ) : object | ||
index | int | The numerical index of the session-state item value. |
Результат | object |
public this ( string name ) : object | ||
name | string | The key name of the session-state item value. |
Результат | object |