Lists.BeginAddAttachment Method
This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Function BeginAddAttachment ( _
listName As String, _
listItemID As String, _
fileName As String, _
attachment As Byte(), _
callback As AsyncCallback, _
asyncState As Object _
) As IAsyncResult
'Usage
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
)
Parameters
- listName
Type: System.String
- listItemID
Type: System.String
- fileName
Type: System.String
- attachment
Type: []
- callback
Type: System.AsyncCallback
- asyncState
Type: System.Object
Return Value
Type: System.IAsyncResult