CacheSection Konstruktor

Definition

Initierar en ny instans av CacheSection klassen.

public:
 CacheSection();
public CacheSection();
Public Sub New ()

Exempel

System.Web.Configuration.CacheSection cacheSection =
    (System.Web.Configuration.CacheSection)config.GetSection(
        "system.web/caching/cache");
Dim cacheSection As System.Web.Configuration.CacheSection =
    CType(config.GetSection("system.web/caching/cache"), System.Web.Configuration.CacheSection)

Kommentarer

Konstruktorn CacheSection är inte avsedd att användas direkt från koden. Det anropas av ASP.NET konfigurationssystemet. Du får en instans av CacheSection klassen med hjälp GetSection av metoden .

Gäller för