共用方式為


NSDocumentController.DocumentForWindow(NSWindow) 方法

定義

[Foundation.Export("documentForWindow:")]
public virtual AppKit.NSDocument DocumentForWindow (AppKit.NSWindow window);
abstract member DocumentForWindow : AppKit.NSWindow -> AppKit.NSDocument
override this.DocumentForWindow : AppKit.NSWindow -> AppKit.NSDocument

參數

window
NSWindow

傳回

屬性

適用於