Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
2482 lines (2473 sloc) 138 KB
<Type Name="UIDocument" FullName="UIKit.UIDocument">
<TypeSignature Language="C#" Value="public class UIDocument : Foundation.NSObject, Foundation.INSFilePresenter, Foundation.INSProgressReporting, IDisposable, UIKit.IUIUserActivityRestoring" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit UIDocument extends Foundation.NSObject implements class Foundation.INSFilePresenter, class Foundation.INSProgressReporting, class ObjCRuntime.INativeObject, class System.IDisposable, class UIKit.IUIUserActivityRestoring" />
<TypeSignature Language="DocId" Value="T:UIKit.UIDocument" />
<TypeSignature Language="F#" Value="type UIDocument = class&#xA; inherit NSObject&#xA; interface INSFilePresenter&#xA; interface INativeObject&#xA; interface IDisposable&#xA; interface INSProgressReporting&#xA; interface IUIUserActivityRestoring" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Foundation.NSObject</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Foundation.INSFilePresenter</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Foundation.INSProgressReporting</InterfaceName>
</Interface>
<Interface>
<InterfaceName>ObjCRuntime.INativeObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>UIKit.IUIUserActivityRestoring</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>Foundation.Register("UIDocument", true)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Abstract base class providing local and cloud-based management of Model data.</summary>
<remarks>
<para>Application developers can subclass <see cref="T:UIKit.UIDocument" /> to create objects that are "Model-Controllers" and relate to Model (domain) objects analogously to how <see cref="T:UIKit.UIViewController" /> relate to <see cref="T:UIKit.UIView" />s. iOS provides a number of functions, including background asynchronous reading and writing of application data, automatic and safe data-saving, storage that is automatically coordinated between the application sandbox and cloud services, etc.</para>
<block subset="none" type="inheritors">
<para>At a minimum, application developers need to implement <see cref="M:UIKit.UIDocument.ContentsForType(System.String,Foundation.NSError@)" /> (for storage) and <see cref="M:UIKit.UIDocument.LoadFromContents(Foundation.NSObject,System.String,Foundation.NSError@)" /> (for retrieval). Additionally, application developers need to manage the lifecyle of the <see cref="T:UIKit.UIDocument" /> and this requires the application developer to set the preferred storage location, create a file URL, and discover, open, and close the file. Application developers should also track changes and resolve conflicts between document versions.</para>
</block>
<para tool="threads">The members of this class can be used from a background thread.</para>
</remarks>
<related type="article" href="https://github.com/conceptdev/taskcloud">TaskCloud</related>
<altmember cref="T:UIKit.UIManagedDocument" />
<related type="externalDocumentation" href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDocument_Class/index.html">Apple documentation for <c>UIDocument</c></related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected UIDocument (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.UIDocument.#ctor(Foundation.NSObjectFlag)" />
<MemberSignature Language="F#" Value="new UIKit.UIDocument : Foundation.NSObjectFlag -&gt; UIKit.UIDocument" Usage="new UIKit.UIDocument 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="public UIDocument (Foundation.NSUrl url);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Foundation.NSUrl url) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.#ctor(Foundation.NSUrl)" />
<MemberSignature Language="F#" Value="new UIKit.UIDocument : Foundation.NSUrl -&gt; UIKit.UIDocument" Usage="new UIKit.UIDocument url" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithFileURL:")</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" />
</Parameters>
<Docs>
<param name="url">URL that indicates the location of a document file.</param>
<summary>Constructor</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected internal UIDocument (IntPtr handle);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig specialname rtspecialname instance void .ctor(native int handle) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.#ctor(System.IntPtr)" />
<MemberSignature Language="F#" Value="new UIKit.UIDocument : nativeint -&gt; UIKit.UIDocument" Usage="new UIKit.UIDocument 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="AccommodatePresentedItemDeletion">
<MemberSignature Language="C#" Value="public virtual void AccommodatePresentedItemDeletion (Action&lt;Foundation.NSError&gt; completionHandler);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AccommodatePresentedItemDeletion(class System.Action`1&lt;class Foundation.NSError&gt; completionHandler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.AccommodatePresentedItemDeletion(System.Action{Foundation.NSError})" />
<MemberSignature Language="F#" Value="abstract member AccommodatePresentedItemDeletion : Action&lt;Foundation.NSError&gt; -&gt; unit&#xA;override this.AccommodatePresentedItemDeletion : Action&lt;Foundation.NSError&gt; -&gt; unit" Usage="uIDocument.AccommodatePresentedItemDeletion completionHandler" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("accommodatePresentedItemDeletionWithCompletionHandler:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="completionHandler" Type="System.Action&lt;Foundation.NSError&gt;">
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDActionArity1V9))</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="completionHandler">A code action that is executed when a save operation comes to a conclusion.</param>
<summary>Accomodates the presented subitem deletion.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AccommodatePresentedSubitemDeletion">
<MemberSignature Language="C#" Value="public virtual void AccommodatePresentedSubitemDeletion (Foundation.NSUrl url, Action&lt;Foundation.NSError&gt; completionHandler);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AccommodatePresentedSubitemDeletion(class Foundation.NSUrl url, class System.Action`1&lt;class Foundation.NSError&gt; completionHandler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.AccommodatePresentedSubitemDeletion(Foundation.NSUrl,System.Action{Foundation.NSError})" />
<MemberSignature Language="F#" Value="abstract member AccommodatePresentedSubitemDeletion : Foundation.NSUrl * Action&lt;Foundation.NSError&gt; -&gt; unit&#xA;override this.AccommodatePresentedSubitemDeletion : Foundation.NSUrl * Action&lt;Foundation.NSError&gt; -&gt; unit" Usage="uIDocument.AccommodatePresentedSubitemDeletion (url, completionHandler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("accommodatePresentedSubitemDeletionAtURL:completionHandler:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="url" Type="Foundation.NSUrl" />
<Parameter Name="completionHandler" Type="System.Action&lt;Foundation.NSError&gt;">
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDActionArity1V9))</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="url">URL that indicates the location of a document file.</param>
<param name="completionHandler">A code action that is executed when a save operation comes to a conclusion.</param>
<summary>Accomodates the presented subitem deletion.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AutoSave">
<MemberSignature Language="C#" Value="public virtual void AutoSave (UIKit.UIOperationHandler completionHandler);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AutoSave(class UIKit.UIOperationHandler completionHandler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.AutoSave(UIKit.UIOperationHandler)" />
<MemberSignature Language="F#" Value="abstract member AutoSave : UIKit.UIOperationHandler -&gt; unit&#xA;override this.AutoSave : UIKit.UIOperationHandler -&gt; unit" Usage="uIDocument.AutoSave completionHandler" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("autosaveWithCompletionHandler:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="completionHandler" Type="UIKit.UIOperationHandler">
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDUIOperationHandler))</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="completionHandler">
<para>A code action that is executed when a save operation comes to a conclusion.</para>
<para tool="nullallowed">This parameter can be <see langword="null" />.</para>
</param>
<summary>Called by the system immediately prior to automatic saving of UIDocuments with unsaved changes.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AutoSaveAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task&lt;bool&gt; AutoSaveAsync ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1&lt;bool&gt; AutoSaveAsync() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.AutoSaveAsync" />
<MemberSignature Language="F#" Value="abstract member AutoSaveAsync : unit -&gt; System.Threading.Tasks.Task&lt;bool&gt;&#xA;override this.AutoSaveAsync : unit -&gt; System.Threading.Tasks.Task&lt;bool&gt;" Usage="uIDocument.AutoSaveAsync " />
<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.Threading.Tasks.Task&lt;System.Boolean&gt;</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Called by the system immediately prior to automatic saving of UIDocuments with unsaved changes.</summary>
<returns>
<para>A task that represents the asynchronous AutoSave operation. The value of the TResult parameter is a <see cref="T:UIKit.UIOperationHandler" />.</para>
</returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ChangeCountTokenForSaveOperation">
<MemberSignature Language="C#" Value="public virtual Foundation.NSObject ChangeCountTokenForSaveOperation (UIKit.UIDocumentSaveOperation saveOperation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Foundation.NSObject ChangeCountTokenForSaveOperation(valuetype UIKit.UIDocumentSaveOperation saveOperation) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.ChangeCountTokenForSaveOperation(UIKit.UIDocumentSaveOperation)" />
<MemberSignature Language="F#" Value="abstract member ChangeCountTokenForSaveOperation : UIKit.UIDocumentSaveOperation -&gt; Foundation.NSObject&#xA;override this.ChangeCountTokenForSaveOperation : UIKit.UIDocumentSaveOperation -&gt; Foundation.NSObject" Usage="uIDocument.ChangeCountTokenForSaveOperation saveOperation" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("changeCountTokenForSaveOperation:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="saveOperation" Type="UIKit.UIDocumentSaveOperation" />
</Parameters>
<Docs>
<param name="saveOperation">This represents a constant indicating if a document file is being written for the first time or being overwritten.</param>
<summary>When overridden, returns an object encapsulating document changes. Used with UpdateChangeCount and Save.</summary>
<returns>NSObject</returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</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.UIDocument.ClassHandle" />
<MemberSignature Language="F#" Value="member this.ClassHandle : nativeint" Usage="UIKit.UIDocument.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="Close">
<MemberSignature Language="C#" Value="public virtual void Close (UIKit.UIOperationHandler completionHandler);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Close(class UIKit.UIOperationHandler completionHandler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.Close(UIKit.UIOperationHandler)" />
<MemberSignature Language="F#" Value="abstract member Close : UIKit.UIOperationHandler -&gt; unit&#xA;override this.Close : UIKit.UIOperationHandler -&gt; unit" Usage="uIDocument.Close completionHandler" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("closeWithCompletionHandler:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="completionHandler" Type="UIKit.UIOperationHandler">
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDUIOperationHandler))</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="completionHandler">
<para>
</para>
<para tool="nullallowed">This parameter can be <see langword="null" />.</para>
</param>
<summary>Asynchronously closes the document after saving any changes.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="CloseAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task&lt;bool&gt; CloseAsync ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1&lt;bool&gt; CloseAsync() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.CloseAsync" />
<MemberSignature Language="F#" Value="abstract member CloseAsync : unit -&gt; System.Threading.Tasks.Task&lt;bool&gt;&#xA;override this.CloseAsync : unit -&gt; System.Threading.Tasks.Task&lt;bool&gt;" Usage="uIDocument.CloseAsync " />
<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.Threading.Tasks.Task&lt;System.Boolean&gt;</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Asynchronously closes the document after saving any changes.</summary>
<returns>
<para>A task that represents the asynchronous Close operation. The value of the TResult parameter is a <see cref="T:UIKit.UIOperationHandler" />.</para>
</returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ContentsForType">
<MemberSignature Language="C#" Value="public virtual Foundation.NSObject ContentsForType (string typeName, out Foundation.NSError outError);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Foundation.NSObject ContentsForType(string typeName, [out] class Foundation.NSError&amp; outError) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.ContentsForType(System.String,Foundation.NSError@)" />
<MemberSignature Language="F#" Value="abstract member ContentsForType : string * -&gt; Foundation.NSObject&#xA;override this.ContentsForType : string * -&gt; Foundation.NSObject" Usage="uIDocument.ContentsForType (typeName, outError)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("contentsForType:error:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="typeName" Type="System.String" />
<Parameter Name="outError" Type="Foundation.NSError" RefType="out" />
</Parameters>
<Docs>
<param name="typeName">The name of the type.</param>
<param name="outError">Object that encapsulates error information.</param>
<summary>Application developers should override this method to return the document data to be saved.</summary>
<returns>NSObject </returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DisableEditing">
<MemberSignature Language="C#" Value="public virtual void DisableEditing ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DisableEditing() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.DisableEditing" />
<MemberSignature Language="F#" Value="abstract member DisableEditing : unit -&gt; unit&#xA;override this.DisableEditing : unit -&gt; unit" Usage="uIDocument.DisableEditing " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("disableEditing")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>When overridden, allows app developers to disable editing when it is unsafe to make changes to this UIDocument.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="DocumentState">
<MemberSignature Language="C#" Value="public virtual UIKit.UIDocumentState DocumentState { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype UIKit.UIDocumentState DocumentState" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.DocumentState" />
<MemberSignature Language="F#" Value="member this.DocumentState : UIKit.UIDocumentState" Usage="UIKit.UIDocument.DocumentState" />
<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("documentState")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIDocumentState</ReturnType>
</ReturnValue>
<Docs>
<summary>The current UIDocumentState of this UIDocument. Read-only.</summary>
<value>Gets the document state.</value>
<remarks>
<para>(More documentation for this node is coming)</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="EnableEditing">
<MemberSignature Language="C#" Value="public virtual void EnableEditing ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void EnableEditing() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.EnableEditing" />
<MemberSignature Language="F#" Value="abstract member EnableEditing : unit -&gt; unit&#xA;override this.EnableEditing : unit -&gt; unit" Usage="uIDocument.EnableEditing " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("enableEditing")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>When overridden, allows app developers to re-enable editing when it is safe to make changes to this UIDocument.</summary>
<remarks>
<para>(More documentation for this node is coming)</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="FileModificationDate">
<MemberSignature Language="C#" Value="public virtual Foundation.NSDate FileModificationDate { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSDate FileModificationDate" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.FileModificationDate" />
<MemberSignature Language="F#" Value="member this.FileModificationDate : Foundation.NSDate with get, set" Usage="UIKit.UIDocument.FileModificationDate" />
<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("fileModificationDate", ObjCRuntime.ArgumentSemantic.Copy)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setFileModificationDate:", ObjCRuntime.ArgumentSemantic.Copy)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSDate</ReturnType>
</ReturnValue>
<Docs>
<summary>The date and time at which the document file was last modified.</summary>
<value>Gets the date.</value>
<remarks>
<para>(More documentation for this node is coming)</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="FileType">
<MemberSignature Language="C#" Value="public virtual string FileType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string FileType" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.FileType" />
<MemberSignature Language="F#" Value="member this.FileType : string" Usage="UIKit.UIDocument.FileType" />
<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("fileType", ObjCRuntime.ArgumentSemantic.Copy)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The Uniform Type Identifier for this UIDocument. Read-only.</summary>
<value>string representing a file type</value>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="FileUrl">
<MemberSignature Language="C#" Value="public virtual Foundation.NSUrl FileUrl { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSUrl FileUrl" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.FileUrl" />
<MemberSignature Language="F#" Value="member this.FileUrl : Foundation.NSUrl" Usage="UIKit.UIDocument.FileUrl" />
<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("fileURL")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSUrl</ReturnType>
</ReturnValue>
<Docs>
<summary>The file URL from which this UIDocument was initialized. Read-only.</summary>
<value>Gets the file URL.</value>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="FinishedHandlingError">
<MemberSignature Language="C#" Value="public virtual void FinishedHandlingError (Foundation.NSError error, bool recovered);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void FinishedHandlingError(class Foundation.NSError error, bool recovered) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.FinishedHandlingError(Foundation.NSError,System.Boolean)" />
<MemberSignature Language="F#" Value="abstract member FinishedHandlingError : Foundation.NSError * bool -&gt; unit&#xA;override this.FinishedHandlingError : Foundation.NSError * bool -&gt; unit" Usage="uIDocument.FinishedHandlingError (error, recovered)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("finishedHandlingError:recovered:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="error" Type="Foundation.NSError" />
<Parameter Name="recovered" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="error">Object that encapsulates error information.</param>
<param name="recovered">Boolean indicating whether error was handled.</param>
<summary>Application developers should call this function when they have finished handling an error.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetFileAttributesToWrite">
<MemberSignature Language="C#" Value="public virtual Foundation.NSDictionary GetFileAttributesToWrite (Foundation.NSUrl forUrl, UIKit.UIDocumentSaveOperation saveOperation, out Foundation.NSError outError);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Foundation.NSDictionary GetFileAttributesToWrite(class Foundation.NSUrl forUrl, valuetype UIKit.UIDocumentSaveOperation saveOperation, [out] class Foundation.NSError&amp; outError) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.GetFileAttributesToWrite(Foundation.NSUrl,UIKit.UIDocumentSaveOperation,Foundation.NSError@)" />
<MemberSignature Language="F#" Value="abstract member GetFileAttributesToWrite : Foundation.NSUrl * UIKit.UIDocumentSaveOperation * -&gt; Foundation.NSDictionary&#xA;override this.GetFileAttributesToWrite : Foundation.NSUrl * UIKit.UIDocumentSaveOperation * -&gt; Foundation.NSDictionary" Usage="uIDocument.GetFileAttributesToWrite (forUrl, saveOperation, outError)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("fileAttributesToWriteToURL:forSaveOperation:error:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSDictionary</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="forUrl" Type="Foundation.NSUrl" />
<Parameter Name="saveOperation" Type="UIKit.UIDocumentSaveOperation" />
<Parameter Name="outError" Type="Foundation.NSError" RefType="out" />
</Parameters>
<Docs>
<param name="forUrl">URL that indicates the location of a document file.</param>
<param name="saveOperation">This represents a constant indicating if a document file is being written for the first time or being overwritten.</param>
<param name="outError">Error return value.</param>
<summary>A dictionary of file attributes to associate with this UIDocument when writing or updating it.</summary>
<returns>NSDictionary of file attributes.</returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetFileNameExtension">
<MemberSignature Language="C#" Value="public virtual string GetFileNameExtension (string typeName, UIKit.UIDocumentSaveOperation saveOperation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetFileNameExtension(string typeName, valuetype UIKit.UIDocumentSaveOperation saveOperation) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.GetFileNameExtension(System.String,UIKit.UIDocumentSaveOperation)" />
<MemberSignature Language="F#" Value="abstract member GetFileNameExtension : string * UIKit.UIDocumentSaveOperation -&gt; string&#xA;override this.GetFileNameExtension : string * UIKit.UIDocumentSaveOperation -&gt; string" Usage="uIDocument.GetFileNameExtension (typeName, saveOperation)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("fileNameExtensionForType:saveOperation:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="typeName" Type="System.String" />
<Parameter Name="saveOperation" Type="UIKit.UIDocumentSaveOperation" />
</Parameters>
<Docs>
<param name="typeName">
<para>String representing a type.</para>
<para tool="nullallowed">This parameter can be <see langword="null" />.</para>
</param>
<param name="saveOperation">This represents a constant indicating if a document file is being written for the first time or being overwritten.</param>
<summary>The file extension to append to the file URL of this UIDocument when writing it.</summary>
<returns>A string representing a type.</returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="HandleError">
<MemberSignature Language="C#" Value="public virtual void HandleError (Foundation.NSError error, bool userInteractionPermitted);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void HandleError(class Foundation.NSError error, bool userInteractionPermitted) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.HandleError(Foundation.NSError,System.Boolean)" />
<MemberSignature Language="F#" Value="abstract member HandleError : Foundation.NSError * bool -&gt; unit&#xA;override this.HandleError : Foundation.NSError * bool -&gt; unit" Usage="uIDocument.HandleError (error, userInteractionPermitted)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("handleError:userInteractionPermitted:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="error" Type="Foundation.NSError" />
<Parameter Name="userInteractionPermitted" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="error">Object that encapsulates error information.</param>
<param name="userInteractionPermitted">Handles errors that appear when performing read, write or revert actions on a document.</param>
<summary>Called when an error occurs during reading, saving, or reverting this UIDocument.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="HasUnsavedChanges">
<MemberSignature Language="C#" Value="public virtual bool HasUnsavedChanges { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HasUnsavedChanges" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.HasUnsavedChanges" />
<MemberSignature Language="F#" Value="member this.HasUnsavedChanges : bool" Usage="UIKit.UIDocument.HasUnsavedChanges" />
<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("hasUnsavedChanges")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Whether this UIDocument has any unsaved changes.</summary>
<value>Gets the changes.</value>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="LoadFromContents">
<MemberSignature Language="C#" Value="public virtual bool LoadFromContents (Foundation.NSObject contents, string typeName, out Foundation.NSError outError);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool LoadFromContents(class Foundation.NSObject contents, string typeName, [out] class Foundation.NSError&amp; outError) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.LoadFromContents(Foundation.NSObject,System.String,Foundation.NSError@)" />
<MemberSignature Language="F#" Value="abstract member LoadFromContents : Foundation.NSObject * string * -&gt; bool&#xA;override this.LoadFromContents : Foundation.NSObject * string * -&gt; bool" Usage="uIDocument.LoadFromContents (contents, typeName, outError)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("loadFromContents:ofType:error:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="contents" Type="Foundation.NSObject" />
<Parameter Name="typeName" Type="System.String" />
<Parameter Name="outError" Type="Foundation.NSError" RefType="out" />
</Parameters>
<Docs>
<param name="contents">For flat files, you will receive an NSData, for file packages you will receive an NSFileWrapper instance.</param>
<param name="typeName">An UTI representing the type of the loaded file (see <see cref="T:MobileCoreServices.UTType" /> for a list of known UTI types).<para tool="nullallowed">This parameter can be <see langword="null" />.</para></param>
<param name="outError">Error return value.</param>
<summary>App developers should override this method to load document data into their domain objects.</summary>
<returns>True if the document was successfully loaded, false otherwise (and the details of the error will be on <paramref name="outError" />.</returns>
<remarks>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="LocalizedName">
<MemberSignature Language="C#" Value="public virtual string LocalizedName { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string LocalizedName" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.LocalizedName" />
<MemberSignature Language="F#" Value="member this.LocalizedName : string" Usage="UIKit.UIDocument.LocalizedName" />
<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("localizedName", ObjCRuntime.ArgumentSemantic.Copy)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The localized name of this UIDocument. Read-only.</summary>
<value>Gets the name.</value>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Open">
<MemberSignature Language="C#" Value="public virtual void Open (UIKit.UIOperationHandler completionHandler);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Open(class UIKit.UIOperationHandler completionHandler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.Open(UIKit.UIOperationHandler)" />
<MemberSignature Language="F#" Value="abstract member Open : UIKit.UIOperationHandler -&gt; unit&#xA;override this.Open : UIKit.UIOperationHandler -&gt; unit" Usage="uIDocument.Open completionHandler" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("openWithCompletionHandler:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="completionHandler" Type="UIKit.UIOperationHandler">
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDUIOperationHandler))</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="completionHandler">
<para>
</para>
<para tool="nullallowed">This parameter can be <see langword="null" />.</para>
</param>
<summary>Asynchronously opens a document.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="OpenAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task&lt;bool&gt; OpenAsync ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1&lt;bool&gt; OpenAsync() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.OpenAsync" />
<MemberSignature Language="F#" Value="abstract member OpenAsync : unit -&gt; System.Threading.Tasks.Task&lt;bool&gt;&#xA;override this.OpenAsync : unit -&gt; System.Threading.Tasks.Task&lt;bool&gt;" Usage="uIDocument.OpenAsync " />
<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.Threading.Tasks.Task&lt;System.Boolean&gt;</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Asynchronously opens a document.</summary>
<returns>
<para>A task that represents the asynchronous Open operation. The value of the TResult parameter is a <see cref="T:UIKit.UIOperationHandler" />.</para>
</returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PerformAsynchronousFileAccess">
<MemberSignature Language="C#" Value="public virtual void PerformAsynchronousFileAccess (Action action);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PerformAsynchronousFileAccess(class System.Action action) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PerformAsynchronousFileAccess(System.Action)" />
<MemberSignature Language="F#" Value="abstract member PerformAsynchronousFileAccess : Action -&gt; unit&#xA;override this.PerformAsynchronousFileAccess : Action -&gt; unit" Usage="uIDocument.PerformAsynchronousFileAccess action" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("performAsynchronousFileAccessUsingBlock:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="action" Type="System.Action">
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDAction))</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="action">The access action to be implemented.</param>
<summary>Performs an asynchronous file access action.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PerformAsynchronousFileAccessAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task PerformAsynchronousFileAccessAsync ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task PerformAsynchronousFileAccessAsync() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PerformAsynchronousFileAccessAsync" />
<MemberSignature Language="F#" Value="abstract member PerformAsynchronousFileAccessAsync : unit -&gt; System.Threading.Tasks.Task&#xA;override this.PerformAsynchronousFileAccessAsync : unit -&gt; System.Threading.Tasks.Task" Usage="uIDocument.PerformAsynchronousFileAccessAsync " />
<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.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Performs an asynchronous file access action.</summary>
<returns>A task that represents the asynchronous PerformAsynchronousFileAccess operation</returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PesentedItemOperationQueue">
<MemberSignature Language="C#" Value="public virtual Foundation.NSOperationQueue PesentedItemOperationQueue { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSOperationQueue PesentedItemOperationQueue" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.PesentedItemOperationQueue" />
<MemberSignature Language="F#" Value="member this.PesentedItemOperationQueue : Foundation.NSOperationQueue" Usage="UIKit.UIDocument.PesentedItemOperationQueue" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Foundation.INSFilePresenter.PesentedItemOperationQueue</InterfaceMember>
</Implements>
<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("presentedItemOperationQueue", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSOperationQueue</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets an operation queue.</summary>
<value>
</value>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedItemChanged">
<MemberSignature Language="C#" Value="public virtual void PresentedItemChanged ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PresentedItemChanged() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PresentedItemChanged" />
<MemberSignature Language="F#" Value="abstract member PresentedItemChanged : unit -&gt; unit&#xA;override this.PresentedItemChanged : unit -&gt; unit" Usage="uIDocument.PresentedItemChanged " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("presentedItemDidChange")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Changed NSFileVersion of item.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedItemChangedUbiquityAttributes">
<MemberSignature Language="C#" Value="public virtual void PresentedItemChangedUbiquityAttributes (Foundation.NSSet&lt;Foundation.NSString&gt; attributes);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PresentedItemChangedUbiquityAttributes(class Foundation.NSSet`1&lt;class Foundation.NSString&gt; attributes) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PresentedItemChangedUbiquityAttributes(Foundation.NSSet{Foundation.NSString})" />
<MemberSignature Language="F#" Value="abstract member PresentedItemChangedUbiquityAttributes : Foundation.NSSet&lt;Foundation.NSString&gt; -&gt; unit&#xA;override this.PresentedItemChangedUbiquityAttributes : Foundation.NSSet&lt;Foundation.NSString&gt; -&gt; unit" Usage="uIDocument.PresentedItemChangedUbiquityAttributes attributes" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("presentedItemDidChangeUbiquityAttributes:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 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>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="attributes" Type="Foundation.NSSet&lt;Foundation.NSString&gt;" />
</Parameters>
<Docs>
<param name="attributes">To be added.</param>
<summary>The system calls this function to indicate that the <param name="attributes" /> have changed in ubiquity.</summary>
<remarks>
<para>(More documentation for this node is coming)</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedItemGainedVersion">
<MemberSignature Language="C#" Value="public virtual void PresentedItemGainedVersion (Foundation.NSFileVersion version);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PresentedItemGainedVersion(class Foundation.NSFileVersion version) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PresentedItemGainedVersion(Foundation.NSFileVersion)" />
<MemberSignature Language="F#" Value="abstract member PresentedItemGainedVersion : Foundation.NSFileVersion -&gt; unit&#xA;override this.PresentedItemGainedVersion : Foundation.NSFileVersion -&gt; unit" Usage="uIDocument.PresentedItemGainedVersion version" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("presentedItemDidGainVersion:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="Foundation.NSFileVersion" />
</Parameters>
<Docs>
<param name="version">Gained version of item.</param>
<summary>Presents gained NSFileVersion of item.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedItemLostVersion">
<MemberSignature Language="C#" Value="public virtual void PresentedItemLostVersion (Foundation.NSFileVersion version);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PresentedItemLostVersion(class Foundation.NSFileVersion version) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PresentedItemLostVersion(Foundation.NSFileVersion)" />
<MemberSignature Language="F#" Value="abstract member PresentedItemLostVersion : Foundation.NSFileVersion -&gt; unit&#xA;override this.PresentedItemLostVersion : Foundation.NSFileVersion -&gt; unit" Usage="uIDocument.PresentedItemLostVersion version" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("presentedItemDidLoseVersion:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="Foundation.NSFileVersion" />
</Parameters>
<Docs>
<param name="version">lost NSFileVersion of item.</param>
<summary>Presents lost version of item.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedItemMoved">
<MemberSignature Language="C#" Value="public virtual void PresentedItemMoved (Foundation.NSUrl newURL);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PresentedItemMoved(class Foundation.NSUrl newURL) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PresentedItemMoved(Foundation.NSUrl)" />
<MemberSignature Language="F#" Value="abstract member PresentedItemMoved : Foundation.NSUrl -&gt; unit&#xA;override this.PresentedItemMoved : Foundation.NSUrl -&gt; unit" Usage="uIDocument.PresentedItemMoved newURL" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("presentedItemDidMoveToURL:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="newURL" Type="Foundation.NSUrl" />
</Parameters>
<Docs>
<param name="newURL">target URL.</param>
<summary>Defines subitem move between URLs.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedItemObservedUbiquityAttributes">
<MemberSignature Language="C#" Value="public virtual Foundation.NSSet&lt;Foundation.NSString&gt; PresentedItemObservedUbiquityAttributes { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSSet`1&lt;class Foundation.NSString&gt; PresentedItemObservedUbiquityAttributes" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.PresentedItemObservedUbiquityAttributes" />
<MemberSignature Language="F#" Value="member this.PresentedItemObservedUbiquityAttributes : Foundation.NSSet&lt;Foundation.NSString&gt;" Usage="UIKit.UIDocument.PresentedItemObservedUbiquityAttributes" />
<MemberType>Property</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>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 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>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("observedPresentedItemUbiquityAttributes", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSSet&lt;Foundation.NSString&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the set of ubiquity attributes that will generate notifications if they are modified.</summary>
<value>To be added.</value>
<remarks>
<para>(More documentation for this node is coming)</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedItemResolveConflictVersion">
<MemberSignature Language="C#" Value="public virtual void PresentedItemResolveConflictVersion (Foundation.NSFileVersion version);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PresentedItemResolveConflictVersion(class Foundation.NSFileVersion version) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PresentedItemResolveConflictVersion(Foundation.NSFileVersion)" />
<MemberSignature Language="F#" Value="abstract member PresentedItemResolveConflictVersion : Foundation.NSFileVersion -&gt; unit&#xA;override this.PresentedItemResolveConflictVersion : Foundation.NSFileVersion -&gt; unit" Usage="uIDocument.PresentedItemResolveConflictVersion version" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("presentedItemDidResolveConflictVersion:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="Foundation.NSFileVersion" />
</Parameters>
<Docs>
<param name="version">conflict NSFileVersion.</param>
<summary>Resolves conflict version of item.</summary>
<remarks>
<para>(More documentation for this node is coming)</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedItemURL">
<MemberSignature Language="C#" Value="public virtual Foundation.NSUrl PresentedItemURL { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSUrl PresentedItemURL" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.PresentedItemURL" />
<MemberSignature Language="F#" Value="member this.PresentedItemURL : Foundation.NSUrl" Usage="UIKit.UIDocument.PresentedItemURL" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Foundation.INSFilePresenter.PresentedItemURL</InterfaceMember>
</Implements>
<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("presentedItemURL", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSUrl</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets URL of presented item.</summary>
<value>
</value>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedSubitemAppeared">
<MemberSignature Language="C#" Value="public virtual void PresentedSubitemAppeared (Foundation.NSUrl atUrl);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PresentedSubitemAppeared(class Foundation.NSUrl atUrl) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PresentedSubitemAppeared(Foundation.NSUrl)" />
<MemberSignature Language="F#" Value="abstract member PresentedSubitemAppeared : Foundation.NSUrl -&gt; unit&#xA;override this.PresentedSubitemAppeared : Foundation.NSUrl -&gt; unit" Usage="uIDocument.PresentedSubitemAppeared atUrl" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("presentedSubitemDidAppearAtURL:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="atUrl" Type="Foundation.NSUrl" />
</Parameters>
<Docs>
<param name="atUrl">URL that indicates the appearance location of a document file.</param>
<summary>Sets appearance URL.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedSubitemChanged">
<MemberSignature Language="C#" Value="public virtual void PresentedSubitemChanged (Foundation.NSUrl url);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PresentedSubitemChanged(class Foundation.NSUrl url) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PresentedSubitemChanged(Foundation.NSUrl)" />
<MemberSignature Language="F#" Value="abstract member PresentedSubitemChanged : Foundation.NSUrl -&gt; unit&#xA;override this.PresentedSubitemChanged : Foundation.NSUrl -&gt; unit" Usage="uIDocument.PresentedSubitemChanged url" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("presentedSubitemDidChangeAtURL:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="url" Type="Foundation.NSUrl" />
</Parameters>
<Docs>
<param name="url">URL that indicates the location of a document file.</param>
<summary>Changed NSFileVersion of subitem.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedSubitemGainedVersion">
<MemberSignature Language="C#" Value="public virtual void PresentedSubitemGainedVersion (Foundation.NSUrl url, Foundation.NSFileVersion version);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PresentedSubitemGainedVersion(class Foundation.NSUrl url, class Foundation.NSFileVersion version) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PresentedSubitemGainedVersion(Foundation.NSUrl,Foundation.NSFileVersion)" />
<MemberSignature Language="F#" Value="abstract member PresentedSubitemGainedVersion : Foundation.NSUrl * Foundation.NSFileVersion -&gt; unit&#xA;override this.PresentedSubitemGainedVersion : Foundation.NSUrl * Foundation.NSFileVersion -&gt; unit" Usage="uIDocument.PresentedSubitemGainedVersion (url, version)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("presentedSubitemAtURL:didGainVersion:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="url" Type="Foundation.NSUrl" />
<Parameter Name="version" Type="Foundation.NSFileVersion" />
</Parameters>
<Docs>
<param name="url">URL that indicates the location of a document file.</param>
<param name="version">Gained NSFileVersion.</param>
<summary>Presents gained version of subitem.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedSubitemLostVersion">
<MemberSignature Language="C#" Value="public virtual void PresentedSubitemLostVersion (Foundation.NSUrl url, Foundation.NSFileVersion version);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PresentedSubitemLostVersion(class Foundation.NSUrl url, class Foundation.NSFileVersion version) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PresentedSubitemLostVersion(Foundation.NSUrl,Foundation.NSFileVersion)" />
<MemberSignature Language="F#" Value="abstract member PresentedSubitemLostVersion : Foundation.NSUrl * Foundation.NSFileVersion -&gt; unit&#xA;override this.PresentedSubitemLostVersion : Foundation.NSUrl * Foundation.NSFileVersion -&gt; unit" Usage="uIDocument.PresentedSubitemLostVersion (url, version)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("presentedSubitemAtURL:didLoseVersion:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="url" Type="Foundation.NSUrl" />
<Parameter Name="version" Type="Foundation.NSFileVersion" />
</Parameters>
<Docs>
<param name="url">URL that indicates the location of a document file.</param>
<param name="version">lost NSFileVersion of subitem.</param>
<summary>Presents lost version of file.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedSubitemMoved">
<MemberSignature Language="C#" Value="public virtual void PresentedSubitemMoved (Foundation.NSUrl oldURL, Foundation.NSUrl newURL);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PresentedSubitemMoved(class Foundation.NSUrl oldURL, class Foundation.NSUrl newURL) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PresentedSubitemMoved(Foundation.NSUrl,Foundation.NSUrl)" />
<MemberSignature Language="F#" Value="abstract member PresentedSubitemMoved : Foundation.NSUrl * Foundation.NSUrl -&gt; unit&#xA;override this.PresentedSubitemMoved : Foundation.NSUrl * Foundation.NSUrl -&gt; unit" Usage="uIDocument.PresentedSubitemMoved (oldURL, newURL)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("presentedSubitemAtURL:didMoveToURL:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="oldURL" Type="Foundation.NSUrl" />
<Parameter Name="newURL" Type="Foundation.NSUrl" />
</Parameters>
<Docs>
<param name="oldURL">Prior URL address.</param>
<param name="newURL">Subsequent URL address.</param>
<summary>Defines subitem move between URLs.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PresentedSubitemResolvedConflictVersion">
<MemberSignature Language="C#" Value="public virtual void PresentedSubitemResolvedConflictVersion (Foundation.NSUrl url, Foundation.NSFileVersion version);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PresentedSubitemResolvedConflictVersion(class Foundation.NSUrl url, class Foundation.NSFileVersion version) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.PresentedSubitemResolvedConflictVersion(Foundation.NSUrl,Foundation.NSFileVersion)" />
<MemberSignature Language="F#" Value="abstract member PresentedSubitemResolvedConflictVersion : Foundation.NSUrl * Foundation.NSFileVersion -&gt; unit&#xA;override this.PresentedSubitemResolvedConflictVersion : Foundation.NSUrl * Foundation.NSFileVersion -&gt; unit" Usage="uIDocument.PresentedSubitemResolvedConflictVersion (url, version)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("presentedSubitemAtURL:didResolveConflictVersion:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="url" Type="Foundation.NSUrl" />
<Parameter Name="version" Type="Foundation.NSFileVersion" />
</Parameters>
<Docs>
<param name="url">URL that indicates the location of a document file.</param>
<param name="version">conflict NSFileVersion.</param>
<summary>Resolves conflict version of subitem.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Progress">
<MemberSignature Language="C#" Value="public virtual Foundation.NSProgress Progress { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSProgress Progress" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.Progress" />
<MemberSignature Language="F#" Value="member this.Progress : Foundation.NSProgress" Usage="UIKit.UIDocument.Progress" />
<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>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("progress")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSProgress</ReturnType>
</ReturnValue>
<Docs>
<summary>A <see cref="T:Foundation.NSProgress" /> object that reports on the current operation of this document.</summary>
<value>To be added.</value>
<remarks>
<para>(More documentation for this node is coming)</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Read">
<MemberSignature Language="C#" Value="public virtual bool Read (Foundation.NSUrl fromUrl, out Foundation.NSError outError);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Read(class Foundation.NSUrl fromUrl, [out] class Foundation.NSError&amp; outError) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.Read(Foundation.NSUrl,Foundation.NSError@)" />
<MemberSignature Language="F#" Value="abstract member Read : Foundation.NSUrl * -&gt; bool&#xA;override this.Read : Foundation.NSUrl * -&gt; bool" Usage="uIDocument.Read (fromUrl, outError)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("readFromURL:error:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="fromUrl" Type="Foundation.NSUrl" />
<Parameter Name="outError" Type="Foundation.NSError" RefType="out" />
</Parameters>
<Docs>
<param name="fromUrl">Source URL address.</param>
<param name="outError">When overridden, and you cannot write document data, this method return by an NSError object encapsulating all reasons that this is not possible.</param>
<summary>Reads the document data from the specified location into the application sandbox.</summary>
<returns>Boolean indicating whether read or not.</returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="RelinquishPresentedItemToReader">
<MemberSignature Language="C#" Value="public virtual void RelinquishPresentedItemToReader (Foundation.NSFilePresenterReacquirer readerAction);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RelinquishPresentedItemToReader(class Foundation.NSFilePresenterReacquirer readerAction) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.RelinquishPresentedItemToReader(Foundation.NSFilePresenterReacquirer)" />
<MemberSignature Language="F#" Value="abstract member RelinquishPresentedItemToReader : Foundation.NSFilePresenterReacquirer -&gt; unit&#xA;override this.RelinquishPresentedItemToReader : Foundation.NSFilePresenterReacquirer -&gt; unit" Usage="uIDocument.RelinquishPresentedItemToReader readerAction" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("relinquishPresentedItemToReader:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="readerAction" Type="Foundation.NSFilePresenterReacquirer">
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDNSFilePresenterReacquirer))</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="readerAction">To be added.</param>
<summary>Another request has been made for read access the presented item. (App developers overriding this method must run the <paramref name="readerAction" /> action after releasing the resource.)</summary>
<remarks>
<para>App developers can supply an action to <paramref name="readerAction" /> that notify the relinquishing process when the requesting object is finished with the resource. Setting this action to <see langword="null" /> causes the relinquishing app to not reacquire the resource after the requester is finished.</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="RelinquishPresentedItemToWriter">
<MemberSignature Language="C#" Value="public virtual void RelinquishPresentedItemToWriter (Foundation.NSFilePresenterReacquirer writerAction);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RelinquishPresentedItemToWriter(class Foundation.NSFilePresenterReacquirer writerAction) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.RelinquishPresentedItemToWriter(Foundation.NSFilePresenterReacquirer)" />
<MemberSignature Language="F#" Value="abstract member RelinquishPresentedItemToWriter : Foundation.NSFilePresenterReacquirer -&gt; unit&#xA;override this.RelinquishPresentedItemToWriter : Foundation.NSFilePresenterReacquirer -&gt; unit" Usage="uIDocument.RelinquishPresentedItemToWriter writerAction" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("relinquishPresentedItemToWriter:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writerAction" Type="Foundation.NSFilePresenterReacquirer">
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDNSFilePresenterReacquirer))</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="writerAction">To be added.</param>
<summary>Another request has been made for write access the presented item. (App developers overriding this method must run the <paramref name="writerAction" /> action after releasing the resource.)</summary>
<remarks>
<para>App developers can supply an action to <paramref name="wruterAction" /> that notify the relinquishing process when the requesting object is finished with the resource. Setting this action to <see langword="null" /> causes the relinquishing app to not reacquire the resource after the requester is finished. In any case, failing to run <paramref name="wruterAction" /> at the end of the override can stop thread execution.</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="RestoreUserActivityState">
<MemberSignature Language="C#" Value="public virtual void RestoreUserActivityState (Foundation.NSUserActivity activity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RestoreUserActivityState(class Foundation.NSUserActivity activity) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.RestoreUserActivityState(Foundation.NSUserActivity)" />
<MemberSignature Language="F#" Value="abstract member RestoreUserActivityState : Foundation.NSUserActivity -&gt; unit&#xA;override this.RestoreUserActivityState : Foundation.NSUserActivity -&gt; unit" Usage="uIDocument.RestoreUserActivityState activity" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:UIKit.IUIUserActivityRestoring.RestoreUserActivityState(Foundation.NSUserActivity)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("restoreUserActivityState:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)</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>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="activity" Type="Foundation.NSUserActivity" />
</Parameters>
<Docs>
<param name="activity">An action object that encapsulates a user activity.</param>
<summary>Restores the state of the user activity.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="RevertToContentsOfUrl">
<MemberSignature Language="C#" Value="public virtual void RevertToContentsOfUrl (Foundation.NSUrl url, UIKit.UIOperationHandler completionHandler);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RevertToContentsOfUrl(class Foundation.NSUrl url, class UIKit.UIOperationHandler completionHandler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.RevertToContentsOfUrl(Foundation.NSUrl,UIKit.UIOperationHandler)" />
<MemberSignature Language="F#" Value="abstract member RevertToContentsOfUrl : Foundation.NSUrl * UIKit.UIOperationHandler -&gt; unit&#xA;override this.RevertToContentsOfUrl : Foundation.NSUrl * UIKit.UIOperationHandler -&gt; unit" Usage="uIDocument.RevertToContentsOfUrl (url, completionHandler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("revertToContentsOfURL:completionHandler:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="url" Type="Foundation.NSUrl" />
<Parameter Name="completionHandler" Type="UIKit.UIOperationHandler">
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDUIOperationHandler))</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="url">URL address that indicates the location of a document file.</param>
<param name="completionHandler">
<para>A code action that is executed when a save operation comes to a conclusion.</para>
<para tool="nullallowed">This parameter can be <see langword="null" />.</para>
</param>
<summary>Reverts the UIDocument to the most recent document data stored on-disk.</summary>
<remarks>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="RevertToContentsOfUrlAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task&lt;bool&gt; RevertToContentsOfUrlAsync (Foundation.NSUrl url);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1&lt;bool&gt; RevertToContentsOfUrlAsync(class Foundation.NSUrl url) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.RevertToContentsOfUrlAsync(Foundation.NSUrl)" />
<MemberSignature Language="F#" Value="abstract member RevertToContentsOfUrlAsync : Foundation.NSUrl -&gt; System.Threading.Tasks.Task&lt;bool&gt;&#xA;override this.RevertToContentsOfUrlAsync : Foundation.NSUrl -&gt; System.Threading.Tasks.Task&lt;bool&gt;" Usage="uIDocument.RevertToContentsOfUrlAsync url" />
<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.Threading.Tasks.Task&lt;System.Boolean&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="url" Type="Foundation.NSUrl" />
</Parameters>
<Docs>
<param name="url">URL address that indicates the location of a document file.</param>
<summary>Reverts the UIDocument to the most recent document data stored on-disk.</summary>
<returns>
<para>A task that represents the asynchronous RevertToContentsOfUrl operation. The value of the TResult parameter is a <see cref="T:UIKit.UIOperationHandler" />.</para>
</returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
<para copied="true">The RevertToContentsOfUrlAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.</para>
<para tool="threads" copied="true">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Save">
<MemberSignature Language="C#" Value="public virtual void Save (Foundation.NSUrl url, UIKit.UIDocumentSaveOperation saveOperation, UIKit.UIOperationHandler completionHandler);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Save(class Foundation.NSUrl url, valuetype UIKit.UIDocumentSaveOperation saveOperation, class UIKit.UIOperationHandler completionHandler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.Save(Foundation.NSUrl,UIKit.UIDocumentSaveOperation,UIKit.UIOperationHandler)" />
<MemberSignature Language="F#" Value="abstract member Save : Foundation.NSUrl * UIKit.UIDocumentSaveOperation * UIKit.UIOperationHandler -&gt; unit&#xA;override this.Save : Foundation.NSUrl * UIKit.UIDocumentSaveOperation * UIKit.UIOperationHandler -&gt; unit" Usage="uIDocument.Save (url, saveOperation, completionHandler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("saveToURL:forSaveOperation:completionHandler:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="url" Type="Foundation.NSUrl" />
<Parameter Name="saveOperation" Type="UIKit.UIDocumentSaveOperation" />
<Parameter Name="completionHandler" Type="UIKit.UIOperationHandler">
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDUIOperationHandler))</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="url">URL that indicates the location of a document file.</param>
<param name="saveOperation">This represents a constant indicating if a document file is being written for the first time or being overwritten.</param>
<param name="completionHandler">
<para>A code action that is executed when a save operation comes to a conclusion.</para>
<para tool="nullallowed">This parameter can be <see langword="null" />.</para>
</param>
<summary>Saves the document data to the specified location in the application sandbox.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SaveAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task&lt;bool&gt; SaveAsync (Foundation.NSUrl url, UIKit.UIDocumentSaveOperation saveOperation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1&lt;bool&gt; SaveAsync(class Foundation.NSUrl url, valuetype UIKit.UIDocumentSaveOperation saveOperation) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.SaveAsync(Foundation.NSUrl,UIKit.UIDocumentSaveOperation)" />
<MemberSignature Language="F#" Value="abstract member SaveAsync : Foundation.NSUrl * UIKit.UIDocumentSaveOperation -&gt; System.Threading.Tasks.Task&lt;bool&gt;&#xA;override this.SaveAsync : Foundation.NSUrl * UIKit.UIDocumentSaveOperation -&gt; System.Threading.Tasks.Task&lt;bool&gt;" Usage="uIDocument.SaveAsync (url, saveOperation)" />
<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.Threading.Tasks.Task&lt;System.Boolean&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="url" Type="Foundation.NSUrl" />
<Parameter Name="saveOperation" Type="UIKit.UIDocumentSaveOperation" />
</Parameters>
<Docs>
<param name="url">URL that indicates the location of a document file.</param>
<param name="saveOperation">This represents a constant indicating if a document file is being written for the first time or being overwritten.</param>
<summary>Saves the document data to the specified location in the application sandbox.</summary>
<returns>
<para>A task that represents the asynchronous Save operation. The value of the TResult parameter is a <see cref="T:UIKit.UIOperationHandler" />.</para>
</returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SavePresentedItemChanges">
<MemberSignature Language="C#" Value="public virtual void SavePresentedItemChanges (Action&lt;Foundation.NSError&gt; completionHandler);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SavePresentedItemChanges(class System.Action`1&lt;class Foundation.NSError&gt; completionHandler) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.SavePresentedItemChanges(System.Action{Foundation.NSError})" />
<MemberSignature Language="F#" Value="abstract member SavePresentedItemChanges : Action&lt;Foundation.NSError&gt; -&gt; unit&#xA;override this.SavePresentedItemChanges : Action&lt;Foundation.NSError&gt; -&gt; unit" Usage="uIDocument.SavePresentedItemChanges completionHandler" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("savePresentedItemChangesWithCompletionHandler:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="completionHandler" Type="System.Action&lt;Foundation.NSError&gt;">
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDActionArity1V9))</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="completionHandler">A code action that is executed when a save operation comes to a conclusion.</param>
<summary>Saves changes to the presented item.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SavingFileType">
<MemberSignature Language="C#" Value="public virtual string SavingFileType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string SavingFileType" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.SavingFileType" />
<MemberSignature Language="F#" Value="member this.SavingFileType : string" Usage="UIKit.UIDocument.SavingFileType" />
<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("savingFileType")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The file type used for saving this UIDocument.</summary>
<value>Gets the file type.</value>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="StateChangedNotification">
<MemberSignature Language="C#" Value="public static Foundation.NSString StateChangedNotification { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Foundation.NSString StateChangedNotification" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.StateChangedNotification" />
<MemberSignature Language="F#" Value="member this.StateChangedNotification : Foundation.NSString" Usage="UIKit.UIDocument.StateChangedNotification" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Advice("Use UIDocument.Notifications.ObserveStateChanged helper method instead.")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>Foundation.Field("UIDocumentStateChangedNotification", "UIKit")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSString</ReturnType>
</ReturnValue>
<Docs>
<summary>Notification constant for StateChanged</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<para id="tool-remark">If you want to subscribe to this notification, you can use the convenience <see cref="T:UIKit.UIDocument.Notifications" />.<see cref="M:UIKit.UIDocument.Notifications.ObserveStateChanged*" /> method which offers strongly typed access to the parameters of the notification.</para>
<para>The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// Lambda style
//
// listening
notification = UIDocument.Notifications.ObserveStateChanged ((sender, args) => {
/* Access strongly typed args */
Console.WriteLine ("Notification: {0}", args.Notification);
});
// To stop listening:
notification.Dispose ();
//
// Method style
//
NSObject notification;
void Callback (object sender, Foundation.NSNotificationEventArgs args)
{
// Access strongly typed args
Console.WriteLine ("Notification: {0}", args.Notification);
}
void Setup ()
{
notification = UIDocument.Notifications.ObserveStateChanged (Callback);
}
void Teardown ()
{
notification.Dispose ();
}]]></code>
</example>
<para>The following example shows how to use the notification with the DefaultCenter API:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
UIDocument.StateChangedNotification, (notification) => {Console.WriteLine ("Received the notification UIDocument", notification); }
// Method style
void Callback (NSNotification notification)
{
Console.WriteLine ("Received a notification UIDocument", notification);
}
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (UIDocument.StateChangedNotification, Callback);
}
]]></code>
</example>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="UndoManager">
<MemberSignature Language="C#" Value="public virtual Foundation.NSUndoManager UndoManager { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSUndoManager UndoManager" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.UndoManager" />
<MemberSignature Language="F#" Value="member this.UndoManager : Foundation.NSUndoManager with get, set" Usage="UIKit.UIDocument.UndoManager" />
<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("undoManager", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setUndoManager:", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSUndoManager</ReturnType>
</ReturnValue>
<Docs>
<summary>The NSUndoManager for this UIDocument.</summary>
<value>Gets and sets the UndoManager.</value>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="UpdateChangeCount">
<MemberSignature Language="C#" Value="public virtual void UpdateChangeCount (UIKit.UIDocumentChangeKind change);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UpdateChangeCount(valuetype UIKit.UIDocumentChangeKind change) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.UpdateChangeCount(UIKit.UIDocumentChangeKind)" />
<MemberSignature Language="F#" Value="abstract member UpdateChangeCount : UIKit.UIDocumentChangeKind -&gt; unit&#xA;override this.UpdateChangeCount : UIKit.UIDocumentChangeKind -&gt; unit" Usage="uIDocument.UpdateChangeCount change" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("updateChangeCount:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="change" Type="UIKit.UIDocumentChangeKind" />
</Parameters>
<Docs>
<param name="change">Change to be updated.</param>
<summary>Updates the change counter by indicating the kind of change.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="UpdateChangeCount">
<MemberSignature Language="C#" Value="public virtual void UpdateChangeCount (Foundation.NSObject changeCountToken, UIKit.UIDocumentSaveOperation saveOperation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UpdateChangeCount(class Foundation.NSObject changeCountToken, valuetype UIKit.UIDocumentSaveOperation saveOperation) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.UpdateChangeCount(Foundation.NSObject,UIKit.UIDocumentSaveOperation)" />
<MemberSignature Language="F#" Value="abstract member UpdateChangeCount : Foundation.NSObject * UIKit.UIDocumentSaveOperation -&gt; unit&#xA;override this.UpdateChangeCount : Foundation.NSObject * UIKit.UIDocumentSaveOperation -&gt; unit" Usage="uIDocument.UpdateChangeCount (changeCountToken, saveOperation)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("updateChangeCountWithToken:forSaveOperation:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="changeCountToken" Type="Foundation.NSObject" />
<Parameter Name="saveOperation" Type="UIKit.UIDocumentSaveOperation" />
</Parameters>
<Docs>
<param name="changeCountToken">Token to be overridden.</param>
<param name="saveOperation">This represents a constant indicating if a document file is being written for the first time or being overwritten.</param>
<summary>When overridden, can customize the change count with reference to the specified <paramref name="changeCountToken" />.</summary>
<remarks>
<para>(More documentation for this node is coming)</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="UpdateUserActivityState">
<MemberSignature Language="C#" Value="public virtual void UpdateUserActivityState (Foundation.NSUserActivity userActivity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UpdateUserActivityState(class Foundation.NSUserActivity userActivity) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.UpdateUserActivityState(Foundation.NSUserActivity)" />
<MemberSignature Language="F#" Value="abstract member UpdateUserActivityState : Foundation.NSUserActivity -&gt; unit&#xA;override this.UpdateUserActivityState : Foundation.NSUserActivity -&gt; unit" Usage="uIDocument.UpdateUserActivityState userActivity" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("updateUserActivityState:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="userActivity" Type="Foundation.NSUserActivity" />
</Parameters>
<Docs>
<param name="userActivity">Specified activity.</param>
<summary>Updates the activity's state.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="UserActivity">
<MemberSignature Language="C#" Value="public virtual Foundation.NSUserActivity UserActivity { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSUserActivity UserActivity" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.UserActivity" />
<MemberSignature Language="F#" Value="member this.UserActivity : Foundation.NSUserActivity with get, set" Usage="UIKit.UIDocument.UserActivity" />
<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>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("userActivity", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setUserActivity:", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSUserActivity</ReturnType>
</ReturnValue>
<Docs>
<summary>Object that encapsulates user activity information.</summary>
<value>Gets and sets an activity.</value>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="UserActivityDocumentUrlKey">
<MemberSignature Language="C#" Value="public static Foundation.NSString UserActivityDocumentUrlKey { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Foundation.NSString UserActivityDocumentUrlKey" />
<MemberSignature Language="DocId" Value="P:UIKit.UIDocument.UserActivityDocumentUrlKey" />
<MemberSignature Language="F#" Value="member this.UserActivityDocumentUrlKey : Foundation.NSString" Usage="UIKit.UIDocument.UserActivityDocumentUrlKey" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Field("NSUserActivityDocumentURLKey", "UIKit")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSString</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the key that specifies the document's URL in the <see cref="P:UIKit.UIDocument.UserActivity" /> property.</summary>
<value>To be added.</value>
<remarks>
<para>(More documentation for this node is coming)</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="UserInteractionNoLongerPermittedForError">
<MemberSignature Language="C#" Value="public virtual void UserInteractionNoLongerPermittedForError (Foundation.NSError error);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UserInteractionNoLongerPermittedForError(class Foundation.NSError error) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.UserInteractionNoLongerPermittedForError(Foundation.NSError)" />
<MemberSignature Language="F#" Value="abstract member UserInteractionNoLongerPermittedForError : Foundation.NSError -&gt; unit&#xA;override this.UserInteractionNoLongerPermittedForError : Foundation.NSError -&gt; unit" Usage="uIDocument.UserInteractionNoLongerPermittedForError error" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("userInteractionNoLongerPermittedForError:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="error" Type="Foundation.NSError" />
</Parameters>
<Docs>
<param name="error">Object that encapsulates error information.</param>
<summary>Indicates that it is no longer safe to proceed without handling the error.</summary>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="WriteContents">
<MemberSignature Language="C#" Value="public virtual bool WriteContents (Foundation.NSObject contents, Foundation.NSDictionary additionalFileAttributes, Foundation.NSUrl url, UIKit.UIDocumentSaveOperation saveOperation, out Foundation.NSError outError);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool WriteContents(class Foundation.NSObject contents, class Foundation.NSDictionary additionalFileAttributes, class Foundation.NSUrl url, valuetype UIKit.UIDocumentSaveOperation saveOperation, [out] class Foundation.NSError&amp; outError) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.WriteContents(Foundation.NSObject,Foundation.NSDictionary,Foundation.NSUrl,UIKit.UIDocumentSaveOperation,Foundation.NSError@)" />
<MemberSignature Language="F#" Value="abstract member WriteContents : Foundation.NSObject * Foundation.NSDictionary * Foundation.NSUrl * UIKit.UIDocumentSaveOperation * -&gt; bool&#xA;override this.WriteContents : Foundation.NSObject * Foundation.NSDictionary * Foundation.NSUrl * UIKit.UIDocumentSaveOperation * -&gt; bool" Usage="uIDocument.WriteContents (contents, additionalFileAttributes, url, saveOperation, outError)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("writeContents:andAttributes:safelyToURL:forSaveOperation:error:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="contents" Type="Foundation.NSObject" />
<Parameter Name="additionalFileAttributes" Type="Foundation.NSDictionary" />
<Parameter Name="url" Type="Foundation.NSUrl" />
<Parameter Name="saveOperation" Type="UIKit.UIDocumentSaveOperation" />
<Parameter Name="outError" Type="Foundation.NSError" RefType="out" />
</Parameters>
<Docs>
<param name="contents">Document data that is written to the disk. If a flat file, the data is encapsulated by an NSData object, and if a package, by an NSFileWrapper object.</param>
<param name="additionalFileAttributes">
<para>Glossary of NSFileManager file attributes that are assigned to the document file. </para>
<para tool="nullallowed">This parameter can be <see langword="null" />.</para>
</param>
<param name="url">URL address that indicates the location of a document file.</param>
<param name="saveOperation">This represents a constant indicating if a document file is being written for the first time or being overwritten.</param>
<param name="outError">When overridden, and you cannot write document data, this method return by an NSError object encapsulating all reasons that this is not possible.</param>
<summary>Writes and ensures that the document data is written properly to the specified location in the application sandbox.</summary>
<returns>YES if successful, otherwise NO.</returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="WriteContents">
<MemberSignature Language="C#" Value="public virtual bool WriteContents (Foundation.NSObject contents, Foundation.NSUrl toUrl, UIKit.UIDocumentSaveOperation saveOperation, Foundation.NSUrl originalContentsURL, out Foundation.NSError outError);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool WriteContents(class Foundation.NSObject contents, class Foundation.NSUrl toUrl, valuetype UIKit.UIDocumentSaveOperation saveOperation, class Foundation.NSUrl originalContentsURL, [out] class Foundation.NSError&amp; outError) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIDocument.WriteContents(Foundation.NSObject,Foundation.NSUrl,UIKit.UIDocumentSaveOperation,Foundation.NSUrl,Foundation.NSError@)" />
<MemberSignature Language="F#" Value="abstract member WriteContents : Foundation.NSObject * Foundation.NSUrl * UIKit.UIDocumentSaveOperation * Foundation.NSUrl * -&gt; bool&#xA;override this.WriteContents : Foundation.NSObject * Foundation.NSUrl * UIKit.UIDocumentSaveOperation * Foundation.NSUrl * -&gt; bool" Usage="uIDocument.WriteContents (contents, toUrl, saveOperation, originalContentsURL, outError)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("writeContents:toURL:forSaveOperation:originalContentsURL:error:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="contents" Type="Foundation.NSObject" />
<Parameter Name="toUrl" Type="Foundation.NSUrl" />
<Parameter Name="saveOperation" Type="UIKit.UIDocumentSaveOperation" />
<Parameter Name="originalContentsURL" Type="Foundation.NSUrl" />
<Parameter Name="outError" Type="Foundation.NSError" RefType="out" />
</Parameters>
<Docs>
<param name="contents">Document data that is written to the disk. If a flat file, the data is encapsulated by an NSData object, and if a package, by an NSFileWrapper object.</param>
<param name="toUrl">URL that indicates the location of a document file.</param>
<param name="saveOperation">This represents a constant indicating if a document file is being written for the first time or being overwritten.</param>
<param name="originalContentsURL">
<para>URL that specifies the prior location of the document file when it does not return null.</para>
<para tool="nullallowed">This parameter can be <see langword="null" />.</para>
</param>
<param name="outError">When overridden, and you cannot write document data, this method return by an NSError object encapsulating all reasons that this is not possible.</param>
<summary>Writes and ensures that the document data is written properly to the specified location in the application sandbox.</summary>
<returns>YES if successful, otherwise NO.</returns>
<remarks>
<para>
</para>
<para tool="threads">This can be used from a background thread.</para>
</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.