ElementInformation.IsPresent プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ElementInformation.IsPresent プロパティの意味・解説 

ElementInformation.IsPresent プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

関連付けられている ConfigurationElement オブジェクト構成ファイル内に存在するかどうかを示す値を取得します

名前空間: System.Configuration
アセンブリ: System.Configuration (system.configuration.dll 内)
構文構文

Dim instance As ElementInformation
Dim value As Boolean

value = instance.IsPresent
public bool IsPresent { get;
 }
public:
property bool IsPresent {
    bool get ();
}
/** @property */
public boolean get_IsPresent ()

プロパティ
関連付けられている 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
protected override void DeserializeSection(
    System.Xml.XmlReader reader)
{
    base.DeserializeSection(reader);

    // Enter your custom processing code here.
    if (_displayIt)
    {
        Console.WriteLine(
            "UrlsSection.DeserializeSection({0}) called",
            (reader == null) ? "null"
 : reader.ToString());
    }
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

ElementInformation.IsPresent プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ElementInformation.IsPresent プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS