SessionStateProviderBase.ItemExists(String) Method

Definition

Determines if the specified item exists.

protected:
 override bool ItemExists(System::String ^ path);
protected:
 override bool ItemExists(Platform::String ^ path);
 override bool ItemExists(std::wstring const & path);
protected override bool ItemExists (string path);
override this.ItemExists : string -> bool
Protected Overrides Function ItemExists (path As String) As Boolean

Parameters

path
String

The path to the item to check. If this is null or empty, the item container is used (and always exists).

Returns

True if the item exists, false otherwise.

Applies to