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

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

ConfigurationProperty.IsKey プロパティ

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

この ConfigurationProperty が、格納する側の ConfigurationElement オブジェクトキーかどうかを示す値を取得します

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

Dim instance As ConfigurationProperty
Dim value As Boolean

value = instance.IsKey
public bool IsKey { get;
 }
/** @property */
public boolean get_IsKey ()

プロパティ
この ConfigurationProperty オブジェクトコンテナ要素キーである場合trueそれ以外場合false既定値false です。

解説解説

ConfigurationElement 要素実装時に新しConfigurationProperty オブジェクトを、コンテナ要素キーとして定義できます。このフラグ使用しなかった場合IsKey プロパティfalse返します

使用例使用例

指定したプロパティIsKey プロパティ取得する方法次のコード例示します

Dim isKey As String = _
_MaxIdleTime.IsKey.ToString()
Console.WriteLine( _
"MaxIdleTime is key: {0}", isKey)
string isKey =
    _MaxIdleTime.IsKey.ToString();
Console.WriteLine(
        "MaxIdleTime is key: {0}",
        isKey);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ConfigurationProperty クラス
ConfigurationProperty メンバ
System.Configuration 名前空間
ElementInformation
ConfigurationElementCollection クラス
ConfigurationElementCollectionType 列挙
ConfigurationElement クラス
ConfigurationPropertyCollection
ConfigurationSection



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS