AddAttachment Method
See Also 
SourceCode.Workflow.Client Namespace > ProcessInstance Class : AddAttachment Method



fileName
content

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function AddAttachment( _
   ByVal fileName As String, _
   ByVal content As Stream _
) As IWorkflowAttachment
Visual Basic (Usage) Copy Code
Dim instance As ProcessInstance
Dim fileName As String
Dim content As Stream
Dim value As IWorkflowAttachment
 
value = instance.AddAttachment(fileName, content)
C#  
public IWorkflowAttachment AddAttachment( 
   string fileName,
   Stream content
)
C++/CLI  
public:
IWorkflowAttachment^ AddAttachment( 
   String^ fileName,
   Stream^ content
) 

Parameters

fileName
content

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also