HttpRuntimeSection Costruttore

Definizione

Inizializza una nuova istanza della HttpRuntimeSection classe utilizzando le impostazioni predefinite.

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

Esempio

Nell'esempio seguente viene illustrato come creare un HttpRuntimeSection oggetto .

// Get the section related object.
HttpRuntimeSection configSection =
  (HttpRuntimeSection)config.GetSection("system.web/httpRuntime");
' Get the section related object.
Dim configSection As System.Web.Configuration.HttpRuntimeSection = _
 CType(config.GetSection("system.web/httpRuntime"), _
 System.Web.Configuration.HttpRuntimeSection)

Si applica a

Vedi anche