WorkflowDesigner - How to specify expressions to be in C #?

I look in the Workflow Designer for the Windows Workflow Foundation, and I have a small application that hosts the designer, toolbar, and property inspector according to the instructions on MSDN: http://msdn.microsoft.com/en-us/library/ dd489407.aspx

When adding an operator, such as Assign, for example, expression blocks indicate that VB should be used for expressions; however, using the workflow designer in a C # workflow project in Visual Studio, they allow C # expressions.

How can I specify the constructor / statement / tool entries that C # should use?

Thank.

+3
source share
4 answers

WF 4.5 VS11, #, #, VB, VB.

VB #, .

+2

//, #?

. , Workflow Fundation COM- SQL Server IITC... VB Script .

4.5 # #. 4.0 vb script. , - , . LOT , #, " " " " (.. typeof). )

4,5. . 4.0 ...

+2

# .

"" .

+2
source

The only difference in xaml is this:

sap2010:ExpressionActivityEditor.ExpressionActivityEditor="C#"
+1
source

All Articles