ElementInformation.IsPresent プロパティ
アセンブリ: System.Configuration (system.configuration.dll 内)

関連付けられている ConfigurationElement オブジェクトが構成ファイル内に存在する場合は true。それ以外の場合は false。

IsPresent プロパティを使用する方法を次のコード例に示します。
Protected Overrides Sub DeserializeSection( _ ByVal reader As System.Xml.XmlReader) MyBase.DeserializeSection(reader) ' Enter your custom processing code here. If _displayIt Then Console.WriteLine( _ "UrlsSection.DeserializeSection({0}) called", _ IIf(reader Is Nothing, "null", _ reader.ToString())) End If End Sub 'DeserializeSection

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


- ElementInformation.IsPresent プロパティのページへのリンク