Sdílet prostřednictvím


SessionStateProviderBase.NewItem(String, String, Object) Method

Definition

Creates a new item if one of the same name doesn't already exist.

protected:
 override void NewItem(System::String ^ path, System::String ^ type, System::Object ^ newItem);
protected:
 override void NewItem(Platform::String ^ path, Platform::String ^ type, Platform::Object ^ newItem);
 override void NewItem(std::wstring const & path, std::wstring const & type, winrt::Windows::Foundation::IInspectable const & newItem);
protected override void NewItem (string path, string type, object newItem);
override this.NewItem : string * string * obj -> unit
Protected Overrides Sub NewItem (path As String, type As String, newItem As Object)

Parameters

path
String

The name of the item to create.

type
String

Ignored.

newItem
Object

The value of the new item.

Applies to