UpdateOutcomeNameInLineRules Method
See Also 
SourceCode.Workflow.Design.Outcome Namespace > Common Class : UpdateOutcomeNameInLineRules Method



oldOutcomeName
Old name of the outcome.
newOutcomeName
New name of the outcome.
outcomeitem
The outcomeitem.
activity
The activity.

Glossary Item Box

Updates the outcome name in line rules.

Syntax

Visual Basic (Declaration) 
Public Shared Sub UpdateOutcomeNameInLineRules( _
   ByVal oldOutcomeName As String, _
   ByVal newOutcomeName As String, _
   ByVal outcomeitem As OutcomeItem, _
   ByVal activity As Activity _
) 
Visual Basic (Usage)Copy Code
Dim oldOutcomeName As String
Dim newOutcomeName As String
Dim outcomeitem As OutcomeItem
Dim activity As Activity
 
Common.UpdateOutcomeNameInLineRules(oldOutcomeName, newOutcomeName, outcomeitem, activity)
C# 
public static void UpdateOutcomeNameInLineRules( 
   string oldOutcomeName,
   string newOutcomeName,
   OutcomeItem outcomeitem,
   Activity activity
)
C++/CLI 
public:
static void UpdateOutcomeNameInLineRules( 
   String^ oldOutcomeName,
   String^ newOutcomeName,
   OutcomeItem^ outcomeitem,
   Activity^ activity
) 

Parameters

oldOutcomeName
Old name of the outcome.
newOutcomeName
New name of the outcome.
outcomeitem
The outcomeitem.
activity
The activity.

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