SessionStateProviderBase.SetItem(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a session state item to a given value.
protected:
override void SetItem(System::String ^ name, System::Object ^ value);
protected:
override void SetItem(Platform::String ^ name, Platform::Object ^ value);
override void SetItem(std::wstring const & name, winrt::Windows::Foundation::IInspectable const & value);
protected override void SetItem (string name, object value);
override this.SetItem : string * obj -> unit
Protected Overrides Sub SetItem (name As String, value As Object)
Parameters
- name
- String
Name of the item to set
- value
- Object
The value to which to set the item