HttpRuntimeSection コンストラクター

定義

既定の設定を使用して HttpRuntimeSection クラスの新しいインスタンスを初期化します。

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

次の例は、オブジェクトを作成する方法を HttpRuntimeSection 示しています。

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

適用対象

こちらもご覧ください