IHttpSessionState.SessionID プロパティ

定義

セッションの一意のセッション識別子を取得します。

public:
 property System::String ^ SessionID { System::String ^ get(); };
public string SessionID { get; }
member this.SessionID : string
Public ReadOnly Property SessionID As String

プロパティ値

String

セッション ID。

次のコード例では、インターフェイスのプロパティをSessionIDIHttpSessionState実装します。

public string SessionID
{
  get { return pId; }
}
Public ReadOnly Property SessionID As String Implements IHttpSessionState.SessionID
  Get
    Return pId
  End Get
End Property

適用対象

こちらもご覧ください