SystemWebSectionGroup.CustomErrors プロパティ
アセンブリ: System.Web (system.web.dll 内)

Dim instance As SystemWebSectionGroup Dim value As CustomErrorsSection value = instance.CustomErrors
CustomErrorsSection オブジェクト。


既存の Web アプリケーションの構成ファイルから CustomErrorsSection オブジェクトを取得する方法を次のコード例に示します。
' Get the customerrors section. Dim customerrors _ As CustomErrorsSection = _ systemWeb.CustomErrors ' Read section information. info = customerrors.SectionInformation name = info.SectionName type = info.Type declared = info.IsDeclared.ToString() msg = String.Format("Name: {0}" + _ ControlChars.Lf + "Declared: {1}" + _ ControlChars.Lf + "Type: {2}" + _ ControlChars.Lf, name, declared, type)
// Get the customerrors section. CustomErrorsSection customerrors = systemWeb.CustomErrors; // Read section information. info = customerrors.SectionInformation; name = info.SectionName; type = info.Type; declared = info.IsDeclared.ToString(); msg = String.Format( "Name: {0}\nDeclared: {1}\nType: {2}\n", name, declared, type);

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からSystemWebSectionGroup.CustomErrors プロパティを検索する場合は、下記のリンクをクリックしてください。

- SystemWebSectionGroup.CustomErrors プロパティのページへのリンク