コレクションが読み取り専用かどうかを示す値を取得します。
Public Overridable ReadOnly Property IsReadOnly As Boolean
[C#]
public virtual bool IsReadOnly {get;}
[C++]
public: __property virtual bool get_IsReadOnly();
[JScript]
public function get IsReadOnly() : Boolean;
プロパティ値
常に false 。
解説
PermissionSet は読み取り専用にできないため、このプロパティは常に false です。
使用例
' Display the value of the IsReadOnly property.
Console.WriteLine("IsReadOnly property = " & ps1.IsReadOnly)
[C#]
// Display the value of the IsReadOnly property.
Console.WriteLine("IsReadOnly property = " + ps1.IsReadOnly);
[C++]
// Display the value of the IsReadOnly property.
Console::WriteLine(S"IsReadOnly property = {0}", __box(ps1->IsReadOnly));
[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン をクリックします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
PermissionSet クラス | PermissionSet メンバ | System.Security 名前空間