Invokes the NSOpenPanelrunModalForTypes: method, passing the openPanel object and the file extensions associated with a document type.
Original signature is '- (NSInteger)runModalOpenPanel:(NSOpenPanel *)openPanel forTypes:(NSArray *)extensions'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSInteger RunModalOpenPanelForTypes( NSOpenPanel openPanel, NSArray extensions )
Public Overridable Function RunModalOpenPanelForTypes ( _ openPanel As NSOpenPanel, _ extensions As NSArray _ ) As NSInteger
public: virtual NSInteger RunModalOpenPanelForTypes( NSOpenPanel^ openPanel, NSArray^ extensions )
Parameters
- openPanel (NSOpenPanel)
- MISSING
- extensions (NSArray)
- MISSING
Return Value
[Missing <returns> documentation for "M:Monobjc.AppKit.NSDocumentController.RunModalOpenPanelForTypes(Monobjc.AppKit.NSOpenPanel,Monobjc.Foundation.NSArray)"]
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)