Share via


IUIDocumentMenuDelegate Interface

Definition

Delegate object for UIDocumentMenuViewController objects. Provides methods called when a document is picked or when the picking has been cancelled.

[Foundation.Protocol(Name="UIDocumentMenuDelegate", WrapperType=typeof(UIKit.UIDocumentMenuDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidPickDocumentPicker", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentMenuViewController), typeof(UIKit.UIDocumentPickerViewController) }, Selector="documentMenu:didPickDocumentPicker:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WasCancelled", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentMenuViewController) }, Selector="documentMenuWasCancelled:")]
public interface IUIDocumentMenuDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIDocumentMenuDelegate", WrapperType=typeof(UIKit.UIDocumentMenuDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidPickDocumentPicker", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentMenuViewController), typeof(UIKit.UIDocumentPickerViewController) }, Selector="documentMenu:didPickDocumentPicker:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WasCancelled", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentMenuViewController) }, Selector="documentMenuWasCancelled:")>]
type IUIDocumentMenuDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
DidPickDocumentPicker(UIDocumentMenuViewController, UIDocumentPickerViewController)

The user chose a document.

WasCancelled(UIDocumentMenuViewController)

The user dismissed the picker.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
WasCancelled(IUIDocumentMenuDelegate, UIDocumentMenuViewController)

The user dismissed the picker.

Applies to

See also