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

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

ValidatorCollection.IsReadOnly プロパティ

ValidatorCollection コレクション読み取り専用かどうかを示す値を取得します

名前空間: System.Web.UI
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As ValidatorCollection
Dim value As Boolean

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

プロパティ
コレクション読み取り専用場合trueそれ以外場合false

使用例使用例

IsReadOnly プロパティ使用したコード例次に示します

' Get 'Validators' of the page to myCollection.
Dim myCollection1 As ValidatorCollection =
 Page.Validators
' Get 'IsReadOnly' property of 'ValidatorCollection'.
Dim readOnly_bool As Boolean
 = myCollection1.IsReadOnly

' Get 'IsSynchronized' property of 'ValidatorCollection'.
Dim synchronized_bool As Boolean
 = myCollection1.IsSynchronized

' Get a synchronized object of the 'ValidatorCollection'.
Dim myCollection2 As ValidatorCollection =
 CType(myCollection1.SyncRoot, ValidatorCollection)
myCollection1.Add(myCollection1(0))
// Get 'Validators' of the page to myCollection.
ValidatorCollection myCollection1 = Page.Validators;

// Get 'IsReadOnly' property of 'ValidatorCollection'.
bool readOnly_bool = myCollection1.IsReadOnly;

// Get 'IsSynchronized' property of 'ValidatorCollection'.
bool synchronized_bool = myCollection1.IsSynchronized;

// Get a synchronized object of the 'ValidatorCollection'.
ValidatorCollection myCollection2 = (ValidatorCollection)myCollection1.SyncRoot;
myCollection1.Add(myCollection1[0]);
// Get 'Validators' of the page to myCollection.
ValidatorCollection myCollection1 = get_Validators();
// Get 'IsReadOnly' property of 'ValidatorCollection'.
boolean readOnly_bool = myCollection1.get_IsReadOnly();
// Get 'IsSynchronized' property of 'ValidatorCollection'.
boolean synchronized_bool = myCollection1.get_IsSynchronized();
// Get a synchronized object of the 'ValidatorCollection'.
ValidatorCollection myCollection2 = (ValidatorCollection)(
    myCollection1.get_SyncRoot());
myCollection1.Add(myCollection1.get_Item(0));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ValidatorCollection クラス
ValidatorCollection メンバ
System.Web.UI 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からValidatorCollection.IsReadOnly プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からValidatorCollection.IsReadOnly プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からValidatorCollection.IsReadOnly プロパティ を検索

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS