ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 166
نمايش فراداده

HttpStaticObjectsCollection

System.Web (system.web.dll)sealed class

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 sealed class 

HttpStaticObjectsCollection : ICollection, IEnumerable { // Public Constructors public

HttpStaticObjectsCollection ( ); // Public Instance Properties public int

Count {get; } // implements ICollection public bool

IsReadOnly {get; } public bool

IsSynchronized {get; } // implements ICollection public object

SyncRoot {get; } // implements ICollection public object

this [string

name ]{get; } // Public Instance Methods public void

CopyTo (Array

array , int

index ); // implements ICollection public IEnumerator

GetEnumerator ( ); // implements IEnumerable public object

GetObject (string

name ); }

Returned By

HttpApplicationState.StaticObjects, System.Web.SessionState.HttpSessionState.StaticObjects