IHttpSessionState.Keys Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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.
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.