[This is preliminary documentation and is subject to change.]
Uploads an attachment and links it to the specified Annotation id.
Namespace:
CWR.MSCRM.Mobile.Client.BLAssembly: CWR.MSCRM.Mobile.Client.BL (in CWR.MSCRM.Mobile.Client.BL.dll)
Version: 4.0.0.7
Syntax
| C# |
|---|
public static void UploadAttachment( Guid annotationId, byte[] imageData, string mimeType, string fileName, int fileSize ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub UploadAttachment ( _ annotationId As Guid, _ imageData As Byte(), _ mimeType As String, _ fileName As String, _ fileSize As Integer _ ) |
Parameters
- annotationId
- Type: System..::.Guid
The annotation id.
- imageData
- Type: array<
System..::.Byte
>[]()[]
The attachment.
- mimeType
- Type: System..::.String
Mime type of the attachment.
- fileName
- Type: System..::.String
Name of the attachment.
- fileSize
- Type: System..::.Int32
Size of the attachment.
