NSDocumentController.OpenDocument Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
OpenDocument(NSObject) | |
OpenDocument(NSUrl, Boolean, OpenDocumentCompletionHandler) | |
OpenDocument(NSUrl, Boolean, NSError) |
OpenDocument(NSObject)
[Foundation.Export("openDocument:")]
public virtual void OpenDocument (Foundation.NSObject sender);
abstract member OpenDocument : Foundation.NSObject -> unit
override this.OpenDocument : Foundation.NSObject -> unit
Parâmetros
- sender
- NSObject
- Atributos
Aplica-se a
OpenDocument(NSUrl, Boolean, OpenDocumentCompletionHandler)
[Foundation.Export("openDocumentWithContentsOfURL:display:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void OpenDocument (Foundation.NSUrl url, bool display, AppKit.OpenDocumentCompletionHandler completionHandler);
abstract member OpenDocument : Foundation.NSUrl * bool * AppKit.OpenDocumentCompletionHandler -> unit
override this.OpenDocument : Foundation.NSUrl * bool * AppKit.OpenDocumentCompletionHandler -> unit
Parâmetros
- url
- NSUrl
- display
- Boolean
- completionHandler
- OpenDocumentCompletionHandler
- Atributos
Aplica-se a
OpenDocument(NSUrl, Boolean, NSError)
[Foundation.Export("openDocumentWithContentsOfURL:display:error:")]
public virtual Foundation.NSObject OpenDocument (Foundation.NSUrl url, bool displayDocument, out Foundation.NSError outError);
abstract member OpenDocument : Foundation.NSUrl * bool * -> Foundation.NSObject
override this.OpenDocument : Foundation.NSUrl * bool * -> Foundation.NSObject
Parâmetros
- url
- NSUrl
- displayDocument
- Boolean
- outError
- NSError
Retornos
- Atributos