MonobjcMonobjc Documented Class Library
NSReadOnlyDocumentAttribute Field

NSNumber, containing int. If missing or 0 or negative, not read only; 1 or more, read only.

Note that this has nothing to do with the file system protection on the file, but instead can affect how the file should be displayed to the user.

Mac OS X v10.3 and earlier string constant is @"ReadOnly".

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static readonly NSString NSReadOnlyDocumentAttribute
Public Shared ReadOnly NSReadOnlyDocumentAttribute As NSString
static initonly NSString^ NSReadOnlyDocumentAttribute
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)