다음을 통해 공유


SessionStateProviderBase.SetItem(String, Object) Method

Definition

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

Applies to