Aracılığıyla paylaş


IHttpSessionState.Keys Özellik

Tanım

Oturum durumu öğe koleksiyonunda depolanan tüm değerler için anahtarların koleksiyonunu alır.

public:
 property System::Collections::Specialized::NameObjectCollectionBase::KeysCollection ^ Keys { System::Collections::Specialized::NameObjectCollectionBase::KeysCollection ^ get(); };
public System.Collections.Specialized.NameObjectCollectionBase.KeysCollection Keys { get; }
member this.Keys : System.Collections.Specialized.NameObjectCollectionBase.KeysCollection
Public ReadOnly Property Keys As NameObjectCollectionBase.KeysCollection

Özellik Değeri

NameObjectCollectionBase.KeysCollection Tüm oturum öğesi anahtarlarını içeren.

Örnekler

Aşağıdaki kod örneği, iç oturum durumu öğe koleksiyonundan bir oturum durumu öğesi anahtar adları koleksiyonu döndürmek için arabiriminin özelliğini IHttpSessionState uygularKeys.

public NameObjectCollectionBase.KeysCollection Keys
{
  get { return pSessionItems.Keys; }
}
Public ReadOnly Property Keys As NameObjectCollectionBase.KeysCollection _
  Implements IHttpSessionState.Keys

  Get
    Return pSessionItems.Keys
  End Get
End Property

Şunlara uygulanır

Ayrıca bkz.