共用方式為


SPFile.CustomFileSubmissionPostProcessing Delegate

Represents a delegate to use with the SendToOfficialFile method of the SPFile class.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Delegate Sub CustomFileSubmissionPostProcessing ( _
    submissionResult As XmlDocument _
)
'Usage
Dim instance As New CustomFileSubmissionPostProcessing(AddressOf HandlerMethod)
public delegate void CustomFileSubmissionPostProcessing(
    XmlDocument submissionResult
)

Parameters

  • submissionResult
    Type: System.Xml.XmlDocument

    An XML document that contains information about the result from submitting the file to the records repository.

Remarks

You can pass this delegate as an argument to the static SPFile.SendToOfficialFile method. The target method for the delegate should accept an XMLDocument object as an argument (the object passed to the submissionResult parameter).

See Also

Reference

Microsoft.SharePoint Namespace

SendToOfficialFile(SPWeb, Uri, [], [], String, Uri, String, SPOfficialFileSubmissionMode, SPFile.CustomFileSubmissionPostProcessing, String)