MonobjcMonobjc Documented Class Library
NSSearchPathDirectory Enumeration
NamespacesMonobjc.FoundationNSSearchPathDirectory

These constants specify the location of a variety of directories.

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSSearchPathDirectory
Public Enumeration NSSearchPathDirectory
public enum class NSSearchPathDirectory
Members
MemberDescription
NSApplicationDirectory

Supported applications (/Applications).

Available in Mac OS X v10.0 and later.


NSDemoApplicationDirectory

Unsupported applications and demonstration versions.

Available in Mac OS X v10.0 and later.


NSDeveloperApplicationDirectory

Developer applications (/Developer/Applications).

Available in Mac OS X v10.0 and later.


NSAdminApplicationDirectory

System and network administration applications.

Available in Mac OS X v10.0 and later.


NSLibraryDirectory

Various user-visible documentation, support, and configuration files (/Library).

Available in Mac OS X v10.0 and later.


NSDeveloperDirectory

Developer resources (/Developer).

Deprecated: Beginning with Xcode 3.0, developer tools can be installed in any location.

Available in Mac OS X v10.0 and later.


NSUserDirectory

User home directories (/Users).

Available in Mac OS X v10.0 and later.


NSDocumentationDirectory

Documentation.

Available in Mac OS X v10.0 and later.


NSDocumentDirectory

Document directory.

Available in Mac OS X v10.2 and later.


NSCoreServiceDirectory

Location of core services (System/Library/CoreServices).

Available in Mac OS X v10.4 and later.


NSAutosavedInformationDirectory

Location of user’s autosaved documents Library/Autosave Information

Available in Mac OS X v10.6 and later.


NSDesktopDirectory

Location of user’s desktop directory.

Available in Mac OS X v10.4 and later.


NSCachesDirectory

Location of discardable cache files (Library/Caches).

Available in Mac OS X v10.4 and later.


NSApplicationSupportDirectory

Location of application support files (Library/Application Support).

Available in Mac OS X v10.4 and later.


NSDownloadsDirectory

Location of the user’s downloads directory.

The NSDownloadsDirectory flag will only produce a path only when the NSUserDomainMask is provided.

Available in Mac OS X v10.5 and later.


NSInputMethodsDirectory

Location of Input Methods (Library/Input Methods)

Available in Mac OS X v10.6 and later.


NSMoviesDirectory

Location of user's Movies directory (~/Movies)

Available in Mac OS X v10.6 and later.


NSMusicDirectory

Location of user's Movies directory (~/Music)

Available in Mac OS X v10.6 and later.


NSPicturesDirectory

Location of user's Movies directory (~/Pictures)

Available in Mac OS X v10.6 and later.


NSPrinterDescriptionDirectory

Location of system's PPDs directory (Library/Printers/PPDs)

Available in Mac OS X v10.6 and later.


NSSharedPublicDirectory

Location of user's Public sharing directory (~/Public)

Available in Mac OS X v10.6 and later.


NSPreferencePanesDirectory

Location of the PreferencePanes directory for use with System Preferences (Library/PreferencePanes)

Available in Mac OS X v10.6 and later.


NSItemReplacementDirectory

For use with NSFileManager method URLForDirectory:inDomain:appropriateForURL:create:error:

Available in Mac OS X v10.6 and later.


NSAllApplicationsDirectory

All directories where applications can occur.

Available in Mac OS X v10.0 and later.


NSAllLibrariesDirectory

All directories where resources can occur.

Available in Mac OS X v10.0 and later.


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.Foundation (Module: Monobjc.Foundation)