Partager via


ReadProjectProperty Class

The workflow activity that reads the specified property of a project. The property can be an intrinsic property, such as the start date, or a project custom field.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      Microsoft.Office.Project.Server.Workflow.ReadProjectProperty

Namespace:  Microsoft.Office.Project.Server.Workflow
Assembly:  Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)

Syntax

'Declaration
<ToolboxBitmapAttribute(GetType(ReadProjectProperty), "Resources.ReadProjectProperty.bmp")> _
<PersistOnCloseAttribute> _
Public NotInheritable Class ReadProjectProperty _
    Inherits Activity _
    Implements IActivityEventListener(Of QueueEventArgs)
'Usage
Dim instance As ReadProjectProperty
[ToolboxBitmapAttribute(typeof(ReadProjectProperty), "Resources.ReadProjectProperty.bmp")]
[PersistOnCloseAttribute]
public sealed class ReadProjectProperty : Activity, 
    IActivityEventListener<QueueEventArgs>

Remarks

The ReadProjectProperty activity sets the PropertyValues property, which is a string array of the localized property values. 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 ReadProjectProperty activity.

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.

See Also

Reference

ReadProjectProperty Members

Microsoft.Office.Project.Server.Workflow Namespace