Share via


PermissionSet.IsReadOnly Properti

Definisi

Mendapatkan nilai yang menunjukkan apakah koleksi bersifat baca-saja.

public:
 virtual property bool IsReadOnly { bool get(); };
public virtual bool IsReadOnly { get; }
member this.IsReadOnly : bool
Public Overridable ReadOnly Property IsReadOnly As Boolean

Nilai Properti

Selalu false.

Contoh

Contoh kode berikut menunjukkan nilai yang dikembalikan oleh IsReadOnly properti . Contoh kode ini adalah bagian dari contoh yang lebih besar yang disediakan untuk PermissionSet kelas .

// Display the value of the IsReadOnly property.
Console::WriteLine( "IsReadOnly property = {0}", ps1->IsReadOnly );
// Display the value of the IsReadOnly property.
Console.WriteLine("IsReadOnly property = " + ps1.IsReadOnly);
' Display the value of the IsReadOnly property.
Console.WriteLine("IsReadOnly property = " & ps1.IsReadOnly)

Keterangan

tidak PermissionSet dapat bersifat baca-saja, sehingga properti ini selalu false.

Berlaku untuk