SPOfficialFileHost.PrepareForSubmission method
Prepare-se para enviar o arquivo.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Function PrepareForSubmission ( _
file As SPFile, _
submissionMode As SPOfficialFileSubmissionMode, _
<OutAttribute> ByRef strAdditionalInfo As String _
) As OfficialFileResult
'Uso
Dim instance As SPOfficialFileHost
Dim file As SPFile
Dim submissionMode As SPOfficialFileSubmissionMode
Dim strAdditionalInfo As String
Dim returnValue As OfficialFileResult
returnValue = instance.PrepareForSubmission(file, _
submissionMode, strAdditionalInfo)
public OfficialFileResult PrepareForSubmission(
SPFile file,
SPOfficialFileSubmissionMode submissionMode,
out string strAdditionalInfo
)
Parâmetros
file
Type: Microsoft.SharePoint.SPFileo arquivo.
submissionMode
Type: Microsoft.SharePoint.SPOfficialFileSubmissionModeo modo de envio
strAdditionalInfo
Type: System.Stringinformações adicionais associadas com o resultado
Valor retornado
Type: Microsoft.SharePoint.OfficialFileResult
o SPOfficialFileResult