Compartilhar via


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

  • strAdditionalInfo
    Type: System.String

    informações adicionais associadas com o resultado

Valor retornado

Type: Microsoft.SharePoint.OfficialFileResult
o SPOfficialFileResult

Ver também

Referência

SPOfficialFileHost class

SPOfficialFileHost members

Microsoft.SharePoint namespace