ESRI.ArcGIS.Mobile
CancelAttachmentEditsUsingAttachmentIds Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.FeatureCaching Namespace > AttachmentManager Class : CancelAttachmentEditsUsingAttachmentIds Method

attachmentIds
Cancel Edits on Attachments based on AttachmentID.

Syntax

Visual Basic (Declaration) 
Public Function CancelAttachmentEditsUsingAttachmentIds( _
   ByVal attachmentIds() As Integer _
) As Boolean
C# 
public bool CancelAttachmentEditsUsingAttachmentIds( 
   int[] attachmentIds
)

Parameters

attachmentIds

Remarks

This method cancel edits on individual attachments

This method will cancel the Added attachments in local memory, or if the attachments are in Original state (they were downloaded from server to local memory), this method will have no effects on them.

If the attachments are in Deleted state (they were downloaded from server and then deleted from local memory), this method will revert the delete action and the attachments will go back to the Original state.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.