ImageGear .NET - Updated
OnUpdate Method




ImageGear24.Web.Services Assembly > ImageGear.Web.DataProviders Namespace > MarkupArtMiddleware Class : OnUpdate Method
A reference to the Markup Layer for which an update operation is requested. This object reference may be altered in any manner deemed necessary or set to null. If it is set to null, the Markup Layer will not be updated.
The Document Identifier with which this Markup Layer is associated
The Markup Layer Record ID for this Markup Layer
The context data with which the MarkupArtDocumentDataConnection was created
This method is provides the Developer with a simple means of controlling data flow between client and server without fully implementing their own MarkupImageDataProvider. This method can be overridden in a derivation of this class to giving the Developer the opportunity to intercept, reject, process, and alter the Markup Layer stored for any update operation.
Syntax
'Declaration
 
Public Overridable Sub OnUpdate( _
   ByRef markupLayer As ImGearARTDocumentXML, _
   ByVal documentIdentifier As String, _
   ByVal markupLayerRecordId As String, _
   ByVal documentContextData As NameValueCollection _
) 
'Usage
 
Dim instance As MarkupArtMiddleware
Dim markupLayer As ImGearARTDocumentXML
Dim documentIdentifier As String
Dim markupLayerRecordId As String
Dim documentContextData As NameValueCollection
 
instance.OnUpdate(markupLayer, documentIdentifier, markupLayerRecordId, documentContextData)
public virtual void OnUpdate( 
   ref ImGearARTDocumentXML markupLayer,
   string documentIdentifier,
   string markupLayerRecordId,
   NameValueCollection documentContextData
)
public: virtual void OnUpdate( 
   ref ImGearARTDocumentXML* markupLayer,
   string* documentIdentifier,
   string* markupLayerRecordId,
   NameValueCollection* documentContextData
) 
public:
virtual void OnUpdate( 
   ImGearARTDocumentXML^% markupLayer,
   String^ documentIdentifier,
   String^ markupLayerRecordId,
   NameValueCollection^ documentContextData
) 

Parameters

markupLayer
A reference to the Markup Layer for which an update operation is requested. This object reference may be altered in any manner deemed necessary or set to null. If it is set to null, the Markup Layer will not be updated.
documentIdentifier
The Document Identifier with which this Markup Layer is associated
markupLayerRecordId
The Markup Layer Record ID for this Markup Layer
documentContextData
The context data with which the MarkupArtDocumentDataConnection was created
See Also

Reference

MarkupArtMiddleware Class
MarkupArtMiddleware Members