Language

FileStore.IsReadOnly Property

Definition

Gets whether this file store is read-only.

public abstract bool IsReadOnly { [Android.Runtime.Register("isReadOnly", "()Z", "GetIsReadOnlyHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isReadOnly", "()Z", "GetIsReadOnlyHandler", ApiSince=26)>]
member this.IsReadOnly : bool

Property Value

true if and only if this file store is read-only; otherwise, false.

Attributes

Remarks

A file store is read-only when it does not support write operations or other changes to files. Attempts to create a file or open an existing file for writing cause an IOException.

Java documentation for java.nio.file.FileStore.isReadOnly().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to