HttpRuntimeSection コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
既定の設定を使用して、 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)