CompareProjectProperty class
The workflow activity that compares the specified project property with another value.
Inheritance hierarchy
System.Object
System.Workflow.ComponentModel.DependencyObject
System.Workflow.ComponentModel.Activity
Microsoft.Office.Project.Server.Workflow.CompareProjectProperty
Namespace: Microsoft.Office.Project.Server.Workflow
Assembly: Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)
Syntax
'Declaration
<PersistOnCloseAttribute> _
<ToolboxBitmapAttribute(GetType(CompareProjectProperty), "Resources.CompareProjectProperty.bmp")> _
Public NotInheritable Class CompareProjectProperty _
Inherits Activity _
Implements IActivityEventListener(Of QueueEventArgs)
'Usage
Dim instance As CompareProjectProperty
[PersistOnCloseAttribute]
[ToolboxBitmapAttribute(typeof(CompareProjectProperty), "Resources.CompareProjectProperty.bmp")]
public sealed class CompareProjectProperty : Activity,
IActivityEventListener<QueueEventArgs>
Remarks
The property comparison is made based on the type of the specified property. The property type can be text, numeric, date-time, duration, or flag (a Boolean value). If the MdPropUid property GUID is specified, the PropertyName value is ignored.
The Workflow Designer pane and the Properties pane in Microsoft Visual Studio 2010 enable you to get and set properties in fields for the CompareProjectProperty activity.
For an example that uses the CompareProjectProperty activity and sets properties for the comparison, see How to: Create a Branching Workflow.
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.