HttpRuntimeSection Constructor

Definitie

Initialiseert een nieuw exemplaar van de HttpRuntimeSection klasse met behulp van standaardinstellingen.

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

Voorbeelden

In het volgende voorbeeld ziet u hoe u een HttpRuntimeSection object maakt.

// 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)

Van toepassing op

Zie ook