Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
528 lines (527 sloc) 33.1 KB
<Type Name="UIDocumentMenuViewController" FullName="UIKit.UIDocumentMenuViewController">
<TypeSignature Language="C#" Value="public class UIDocumentMenuViewController : UIKit.UIViewController, IDisposable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit UIDocumentMenuViewController extends UIKit.UIViewController implements class Foundation.INSCoding, class ObjCRuntime.INativeObject, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:UIKit.UIDocumentMenuViewController" />
<TypeSignature Language="F#" Value="type UIDocumentMenuViewController = class&#xA; inherit UIViewController&#xA; interface INSCoding&#xA; interface INativeObject&#xA; interface IDisposable" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>UIKit.UIViewController</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Foundation.INSCoding</InterfaceName>
</Interface>
<Interface>
<InterfaceName>ObjCRuntime.INativeObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>Foundation.Register("UIDocumentMenuViewController", true)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIDocumentPickerViewController' instead.")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A <see cref="T:UIKit.UIViewController" /> that presents all available document pickers for a given file type and mode.</summary>
<remarks>To be added.</remarks>
<related type="externalDocumentation" href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDocumentMenuViewController_Class/index.html">Apple documentation for <c>UIDocumentMenuViewController</c></related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIDocumentMenuViewController ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocumentMenuViewController.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete("iOS9 does not allow creating an empty instance")</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Default constructor, initializes a new instance of this class.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIDocumentMenuViewController (Foundation.NSCoder coder);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Foundation.NSCoder coder) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocumentMenuViewController.#ctor(Foundation.NSCoder)" />
<MemberSignature Language="F#" Value="new UIKit.UIDocumentMenuViewController : Foundation.NSCoder -&gt; UIKit.UIDocumentMenuViewController" Usage="new UIKit.UIDocumentMenuViewController coder" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithCoder:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.DesignatedInitializer</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="coder" Type="Foundation.NSCoder" />
</Parameters>
<Docs>
<param name="coder">The unarchiver object.</param>
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
<remarks>
<para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
<para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the [Export("initWithCoder:"] attribute declaration.</para>
<para>The state of this object can also be serialized by using the companion method, EncodeTo.</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected UIDocumentMenuViewController (Foundation.NSObjectFlag t);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class Foundation.NSObjectFlag t) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocumentMenuViewController.#ctor(Foundation.NSObjectFlag)" />
<MemberSignature Language="F#" Value="new UIKit.UIDocumentMenuViewController : Foundation.NSObjectFlag -&gt; UIKit.UIDocumentMenuViewController" Usage="new UIKit.UIDocumentMenuViewController t" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="t" Type="Foundation.NSObjectFlag" />
</Parameters>
<Docs>
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
<remarks>
<para>This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the NSObject. This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object. When developers invoke the constructor that takes the NSObjectFlag.Empty they take advantage of a direct path that goes all the way up to NSObject to merely allocate the object's memory and bind the Objective-C and C# objects together. The actual initialization of the object is up to the developer.</para>
<para>This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place. Once the allocation has taken place, the constructor has to initialize the object. With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.</para>
<para>It is the developer's responsibility to completely initialize the object if they chain up using the NSObjectFlag.Empty path.</para>
<para>In general, if the developer's constructor invokes the NSObjectFlag.Empty base implementation, then it should be calling an Objective-C init method. If this is not the case, developers should instead chain to the proper constructor in their class. </para>
<para>The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic NSObject allocation and runtime type registration. Typically the chaining would look like this:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// The NSObjectFlag merely allocates the object and registers the
// C# class with the Objective-C runtime if necessary, but no actual
// initXxx method is invoked, that is done later in the constructor
//
// This is taken from Xamarin.iOS's source code:
//
[Export ("initWithFrame:")]
public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
{
// Invoke the init method now.
var initWithFrame = new Selector ("initWithFrame:").Handle;
if (IsDirectBinding)
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
else
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected internal UIDocumentMenuViewController (IntPtr handle);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig specialname rtspecialname instance void .ctor(native int handle) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocumentMenuViewController.#ctor(System.IntPtr)" />
<MemberSignature Language="F#" Value="new UIKit.UIDocumentMenuViewController : nativeint -&gt; UIKit.UIDocumentMenuViewController" Usage="new UIKit.UIDocumentMenuViewController handle" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="handle" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="handle">Pointer (handle) to the unmanaged object.</param>
<summary>A constructor used when creating managed representations of unmanaged objects; Called by the runtime.</summary>
<remarks>
<para>This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object. Developers should not invoke this method directly, instead they should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIDocumentMenuViewController (Foundation.NSUrl url, UIKit.UIDocumentPickerMode mode);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Foundation.NSUrl url, valuetype UIKit.UIDocumentPickerMode mode) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocumentMenuViewController.#ctor(Foundation.NSUrl,UIKit.UIDocumentPickerMode)" />
<MemberSignature Language="F#" Value="new UIKit.UIDocumentMenuViewController : Foundation.NSUrl * UIKit.UIDocumentPickerMode -&gt; UIKit.UIDocumentMenuViewController" Usage="new UIKit.UIDocumentMenuViewController (url, mode)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithURL:inMode:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.DesignatedInitializer</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="url" Type="Foundation.NSUrl" />
<Parameter Name="mode" Type="UIKit.UIDocumentPickerMode" />
</Parameters>
<Docs>
<param name="url">To be added.</param>
<param name="mode">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIDocumentMenuViewController (string[] allowedUTIs, UIKit.UIDocumentPickerMode mode);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string[] allowedUTIs, valuetype UIKit.UIDocumentPickerMode mode) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocumentMenuViewController.#ctor(System.String[],UIKit.UIDocumentPickerMode)" />
<MemberSignature Language="F#" Value="new UIKit.UIDocumentMenuViewController : string[] * UIKit.UIDocumentPickerMode -&gt; UIKit.UIDocumentMenuViewController" Usage="new UIKit.UIDocumentMenuViewController (allowedUTIs, mode)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithDocumentTypes:inMode:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.DesignatedInitializer</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="allowedUTIs" Type="System.String[]" />
<Parameter Name="mode" Type="UIKit.UIDocumentPickerMode" />
</Parameters>
<Docs>
<param name="allowedUTIs">To be added.</param>
<param name="mode">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddOption">
<MemberSignature Language="C#" Value="public virtual void AddOption (string title, UIKit.UIImage image, UIKit.UIDocumentMenuOrder order, Action completionHandler);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddOption(string title, class UIKit.UIImage image, valuetype UIKit.UIDocumentMenuOrder order, class System.Action completionHandler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocumentMenuViewController.AddOption(System.String,UIKit.UIImage,UIKit.UIDocumentMenuOrder,System.Action)" />
<MemberSignature Language="F#" Value="abstract member AddOption : string * UIKit.UIImage * UIKit.UIDocumentMenuOrder * Action -&gt; unit&#xA;override this.AddOption : string * UIKit.UIImage * UIKit.UIDocumentMenuOrder * Action -&gt; unit" Usage="uIDocumentMenuViewController.AddOption (title, image, order, completionHandler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("addOptionWithTitle:image:order:handler:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="title" Type="System.String" />
<Parameter Name="image" Type="UIKit.UIImage" />
<Parameter Name="order" Type="UIKit.UIDocumentMenuOrder" />
<Parameter Name="completionHandler" Type="System.Action">
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDAction))</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="title">To be added.</param>
<param name="image">
<para>To be added.</para>
<para tool="nullallowed">This parameter can be <see langword="null" />.</para>
</param>
<param name="order">To be added.</param>
<param name="completionHandler">To be added.</param>
<summary>Adds a menu item, which runs the <paramref name="completionHandler" /> action when it is clicked, to the document menue.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddOptionAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task AddOptionAsync (string title, UIKit.UIImage image, UIKit.UIDocumentMenuOrder order);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task AddOptionAsync(string title, class UIKit.UIImage image, valuetype UIKit.UIDocumentMenuOrder order) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocumentMenuViewController.AddOptionAsync(System.String,UIKit.UIImage,UIKit.UIDocumentMenuOrder)" />
<MemberSignature Language="F#" Value="abstract member AddOptionAsync : string * UIKit.UIImage * UIKit.UIDocumentMenuOrder -&gt; System.Threading.Tasks.Task&#xA;override this.AddOptionAsync : string * UIKit.UIImage * UIKit.UIDocumentMenuOrder -&gt; System.Threading.Tasks.Task" Usage="uIDocumentMenuViewController.AddOptionAsync (title, image, order)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="title" Type="System.String" />
<Parameter Name="image" Type="UIKit.UIImage" />
<Parameter Name="order" Type="UIKit.UIDocumentMenuOrder" />
</Parameters>
<Docs>
<param name="title">To be added.</param>
<param name="image">To be added.This parameter can be .</param>
<param name="order">To be added.</param>
<summary>Adds a menu item, which runs the <paramref name="completionHandler" /> action when it is clicked, to the document menue.</summary>
<returns>A task that represents the asynchronous AddOption operation</returns>
<remarks>
<para copied="true">The AddOptionAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.</para>
<para copied="true">To be added.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ClassHandle">
<MemberSignature Language="C#" Value="public override IntPtr ClassHandle { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ClassHandle" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocumentMenuViewController.ClassHandle" />
<MemberSignature Language="F#" Value="member this.ClassHandle : nativeint" Usage="UIKit.UIDocumentMenuViewController.ClassHandle" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>The handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>Each Xamarin.iOS class mirrors an unmanaged Objective-C class. This value contains the pointer to the Objective-C class, it is similar to calling objc_getClass with the object name.</remarks>
</Docs>
</Member>
<Member MemberName="Delegate">
<MemberSignature Language="C#" Value="public UIKit.IUIDocumentMenuDelegate Delegate { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.IUIDocumentMenuDelegate Delegate" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocumentMenuViewController.Delegate" />
<MemberSignature Language="F#" Value="member this.Delegate : UIKit.IUIDocumentMenuDelegate with get, set" Usage="UIKit.UIDocumentMenuViewController.Delegate" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.IUIDocumentMenuDelegate</ReturnType>
</ReturnValue>
<Docs>
<summary>An instance of the UIKit.IUIDocumentMenuDelegate model class which acts as the class delegate.</summary>
<value>The instance of the UIKit.IUIDocumentMenuDelegate model class</value>
<remarks>
<para>The delegate instance assigned to this object will be used to handle events or provide data on demand to this class.</para>
<para>When setting the Delegate or WeakDelegate values events will be delivered to the specified instance instead of being delivered to the C#-style events</para>
<para>This is the strongly typed version of the object, developers should use the WeakDelegate property instead if they want to merely assign a class derived from NSObject that has been decorated with [Export] attributes.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DidPickDocumentPicker">
<MemberSignature Language="C#" Value="public event EventHandler&lt;UIKit.UIDocumentMenuDocumentPickedEventArgs&gt; DidPickDocumentPicker;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1&lt;class UIKit.UIDocumentMenuDocumentPickedEventArgs&gt; DidPickDocumentPicker" />
<MemberSignature Language="DocId" Value="E:UIKit.UIDocumentMenuViewController.DidPickDocumentPicker" />
<MemberSignature Language="F#" Value="member this.DidPickDocumentPicker : EventHandler&lt;UIKit.UIDocumentMenuDocumentPickedEventArgs&gt; " Usage="member this.DidPickDocumentPicker : System.EventHandler&lt;UIKit.UIDocumentMenuDocumentPickedEventArgs&gt; " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler&lt;UIKit.UIDocumentMenuDocumentPickedEventArgs&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Event raised by the object.</summary>
<remarks>If developers do not assign a value to this event, this will reset the value for the Delegate property to an internal handler that maps delegates to events.</remarks>
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Dispose(bool disposing) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocumentMenuViewController.Dispose(System.Boolean)" />
<MemberSignature Language="F#" Value="override this.Dispose : bool -&gt; unit" Usage="uIDocumentMenuViewController.Dispose disposing" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="disposing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="disposing">
<para>If set to <see langword="true" />, the method is invoked directly and will dispose manage and unmanaged resources; If set to <see langword="false" /> the method is being called by the garbage collector finalizer and should only release unmanaged resources.</para>
</param>
<summary>Releases the resources used by the UIDocumentMenuViewController object.</summary>
<remarks>
<para>This Dispose method releases the resources used by the UIDocumentMenuViewController class.</para>
<para>This method is called by both the Dispose() method and the object finalizer (Finalize). When invoked by the Dispose method, the parameter disposing <paramref name="disposing" /> is set to <see langword="true" /> and any managed object references that this object holds are also disposed or released; when invoked by the object finalizer, on the finalizer thread the value is set to <see langword="false" />. </para>
<para>Calling the Dispose method when the application is finished using the UIDocumentMenuViewController ensures that all external resources used by this managed object are released as soon as possible. Once developers have invoked the Dispose method, the object is no longer useful and developers should no longer make any calls to it.</para>
<para> For more information on how to override this method and on the Dispose/IDisposable pattern, read the ``Implementing a Dispose Method'' document at https://msdn.microsoft.com/en-us/library/fs2xkftw.aspx</para>
</remarks>
</Docs>
</Member>
<Member MemberName="EncodeTo">
<MemberSignature Language="C#" Value="public virtual void EncodeTo (Foundation.NSCoder encoder);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void EncodeTo(class Foundation.NSCoder encoder) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocumentMenuViewController.EncodeTo(Foundation.NSCoder)" />
<MemberSignature Language="F#" Value="override this.EncodeTo : Foundation.NSCoder -&gt; unit" Usage="uIDocumentMenuViewController.EncodeTo encoder" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("encodeWithCoder:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="encoder" Type="Foundation.NSCoder" />
</Parameters>
<Docs>
<param name="encoder">The encoder object where the state of the object will be stored</param>
<summary>Encodes the state of the object on the provided encoder</summary>
<remarks>
<para>This method is part of the <see cref="T:Foundation.NSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para>
<para>Users will typically create a <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> which will call into this method</para>
<para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with [Export ("initWithCoder:")]</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder){
coder.Encode (1, key: "version");
coder.Encode (userName, key: "userName");
coder.Encode (hostName, key: "hostName");]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="WasCancelled">
<MemberSignature Language="C#" Value="public event EventHandler WasCancelled;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler WasCancelled" />
<MemberSignature Language="DocId" Value="E:UIKit.UIDocumentMenuViewController.WasCancelled" />
<MemberSignature Language="F#" Value="member this.WasCancelled : EventHandler " Usage="member this.WasCancelled : System.EventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Event raised by the object.</summary>
<remarks>If developers do not assign a value to this event, this will reset the value for the Delegate property to an internal handler that maps delegates to events.</remarks>
</Docs>
</Member>
<Member MemberName="WeakDelegate">
<MemberSignature Language="C#" Value="public virtual Foundation.NSObject WeakDelegate { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSObject WeakDelegate" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocumentMenuViewController.WeakDelegate" />
<MemberSignature Language="F#" Value="member this.WeakDelegate : Foundation.NSObject with get, set" Usage="UIKit.UIDocumentMenuViewController.WeakDelegate" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("delegate", ObjCRuntime.ArgumentSemantic.Weak)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setDelegate:", ObjCRuntime.ArgumentSemantic.Weak)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Docs>
<summary>An object that can respond to the delegate protocol for this type</summary>
<value>The instance that will respond to events and data requests.</value>
<remarks>
<para>The delegate instance assigned to this object will be used to handle events or provide data on demand to this class.</para>
<para>When setting the Delegate or WeakDelegate values events will be delivered to the specified instance instead of being delivered to the C#-style events</para>
<para> Methods must be decorated with the [Export ("selectorName")] attribute to respond to each method from the protocol. Alternatively use the Delegate method which is strongly typed and does not require the [Export] attributes on methods.</para>
</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.