Name

HttpStaticObjectsCollection

Synopsis

This class provides an immutable name/value collection of objects that is used for the HttpApplicationState.StaticObjects and System.Web.SessionState.HttpSessionState.StaticObjects collections.

Public NotInheritable Class HttpStaticObjectsCollection : Implements ICollection, IEnumerable
' Public Constructors
   Public Sub New() 
' Public Instance Properties
   Public ReadOnly Property Count As Integer Implements ICollection.Count 
   Public ReadOnly Property IsReadOnly As Boolean  
   Public ReadOnly Property IsSynchronized As Boolean Implements ICollection.IsSynchronized 
   Public Default ReadOnly Property Item(
        ByVal name As String) As Object  
   Public ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot 
' Public Instance Methods
   Public Sub CopyTo(ByVal array As Array, 
        ByVal index As Integer) Implements ICollection.CopyTo 
   Public Function GetEnumerator(
        ) As IEnumerator Implements IEnumerable.GetEnumerator 
   Public Function GetObject(ByVal name As String) As Object  
End Class

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.