MonobjcMonobjc Documented Class Library
NSCocoaVersionDocumentAttribute Field

NSNumber, containing a float. For RTF files only, stores the version of Cocoa with which the file was created. Absence of this value indicates RTF file not created by Cocoa or its predecessors.

Values less than 100 are pre–Mac OS X; 100 is Mac OS X v10.0 or v10.1; 102 is Mac OS X v10.2 and 10.3; values greater than 102 correspond to values of NSAppKitVersionNumber on Mac OS X v10.4 and later.

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

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static readonly NSString NSCocoaVersionDocumentAttribute
Public Shared ReadOnly NSCocoaVersionDocumentAttribute As NSString
static initonly NSString^ NSCocoaVersionDocumentAttribute
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)