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

attachment
storageLocation
op
Adds New attachment for a given FeatureID

Syntax

Visual Basic (Declaration) 
Public Sub AddAttachment( _
   ByVal attachment As Attachment, _
   ByVal storageLocation As String, _
   ByVal op As FileOperation _
) 
C# 
public void AddAttachment( 
   Attachment attachment,
   string storageLocation,
   FileOperation op
)

Parameters

attachment
storageLocation
op

Remarks

This action is to copy/move the attachment file from the source location to the cache folder for later upload. To actually upload an attachment and to know more about the upload options available, read the FeatureAttachmentSyncAgent class.

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.