Partager via


Lists.BeginAddAttachment, méthode (Microsoft.SharePoint.Portal.WebControls)

Ce membre est réservé à un usage interne et il n'a pas été conçu pour être utilisé directement à partir du code.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Function BeginAddAttachment ( _
    listName As String, _
    listItemID As String, _
    fileName As String, _
    attachment As Byte(), _
    callback As AsyncCallback, _
    asyncState As Object _
) As IAsyncResult
'Utilisation
Dim instance As Lists
Dim listName As String
Dim listItemID As String
Dim fileName As String
Dim attachment As Byte()
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginAddAttachment(listName, listItemID, fileName, attachment, callback, asyncState)
public IAsyncResult BeginAddAttachment (
    string listName,
    string listItemID,
    string fileName,
    byte[] attachment,
    AsyncCallback callback,
    Object asyncState
)

Paramètres

  • listName
  • listItemID
  • fileName
  • attachment
  • callback
  • asyncState

Voir aussi

Référence

Lists, classe
Membres Lists
Microsoft.SharePoint.Portal.WebControls, espace de noms