NSDocumentController
NSDocumentController()
NSDocumentController(IntPtr)
NSDocumentController(NativeHandle)
NSDocumentController(NSCoder)
NSDocumentController(NSObjectFlag)
AllowsAutomaticShareMenu
AutosavingDelay
ClassHandle
CurrentDirectory
CurrentDocument
DefaultType
DocumentClassNames
Documents
HasEditedDocuments
MaximumRecentDocumentCount
RecentDocumentUrls
SharedDocumentController
StandardShareMenuItem
AddDocument(NSDocument)
BeginOpenPanel(NSOpenPanel, NSArray, NSDocumentControllerOpenPanelResultHandler)
BeginOpenPanelWithCompletionHandler(NSDocumentControllerOpenPanelWithCompletionHandler)
ClearRecentDocuments(NSObject)
CloseAllDocuments(NSObject, Selector, nint)
DisplayNameForType(String)
DocumentClassForType(String)
DocumentForUrl(NSUrl)
DocumentForWindow(NSWindow)
DuplicateDocumentWithContentsOfUrl(NSUrl, Boolean, String, NSError)
EncodeTo(NSCoder)
MakeDocument(NSUrl, String, NSError)
MakeDocument(NSUrl, NSUrl, String, NSError)
MakeUntitledDocument(String, NSError)
NewDocument(NSObject)
NoteNewRecentDocument(NSDocument)
NoteNewRecentDocumentURL(NSUrl)
OpenDocument(NSObject)
OpenDocument(NSUrl, Boolean, NSError)
OpenDocument(NSUrl, Boolean, OpenDocumentCompletionHandler)
OpenUntitledDocument(Boolean, NSError)
PresentError(NSError)
PresentError(NSError, NSWindow, NSObject, Selector, nint)
RemoveDocument(NSDocument)
ReopenDocument(NSUrl, NSUrl, NSError)
ReopenDocumentForUrl(NSUrl, NSUrl, Boolean, OpenDocumentCompletionHandler)
RestoreWindow(String, NSCoder, NSWindowCompletionHandler)
ReviewUnsavedDocuments(String, Boolean, NSObject, Selector, nint)
RunModalOpenPanel(NSOpenPanel, String[])
SaveAllDocuments(NSObject)
TypeForUrl(NSUrl, NSError)
UrlsFromRunningOpenPanel()
ValidateMenuItem(NSMenuItem)
ValidateUserInterfaceItem(INSValidatedUserInterfaceItem)
ValidateUserInterfaceItem(NSObject)
WillPresentError(NSError)
net9.0-macos14.2
namespace AppKit
{
[Register("NSDocumentController", true)]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("maccatalyst")]
public class NSDocumentController : NSObject, INSMenuItemValidation, INSUserInterfaceValidations, INSWindowRestoration, INSCoding, INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
protected internal NSDocumentController(NativeHandle handle);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
macOS | 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2 |
Information specific to net9.0-macos14.2 | |
Assembly | Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API