You need to create a Microsoft InfoPath form. You create a workflow that starts automatically when the InfoPath form is submitted. You need to retrieve the form data from the workflow. You add the following code segment to the workflow:
01 …
02 Dim xmlFormData as Byte() = File.OpenBinary()
Which line of code should you add at line 01?
A.
Dim file as SPFile = WorkFlowProperties.Item.File
B.
Dim file as SPFile = WorkFlowProperties.Web.Files(0)
C.
Dim file as SPFile = WorkFlowProperties.Item.Folder.Files(0)
D.
Dim file as SPFile = WorkFlowProperties.Web.Files(WorkFlowProperties.ItemID)