Share via


PSWorkflowService.ReadProjectProperty Method

Returns the value of the specified property in a localized string format.

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

Syntax

'Declaration
Public Function ReadProjectProperty ( _
    workflowContext As ProjectWorkflowContext, _
    propertyName As String, _
    mdPropUid As Guid _
) As String()
'Usage
Dim instance As PSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim propertyName As String
Dim mdPropUid As Guid
Dim returnValue As String()

returnValue = instance.ReadProjectProperty(workflowContext, _
    propertyName, mdPropUid)
public string[] ReadProjectProperty(
    ProjectWorkflowContext workflowContext,
    string propertyName,
    Guid mdPropUid
)

Parameters

  • propertyName
    Type: System.String
    The name of the project property. If mdPropUid is not a null reference (Nothing in Visual Basic) and is not empty, propertyName is ignored.
  • mdPropUid
    Type: System.Guid
    The GUID of the custom field to be read.

Return Value

Type: []
An array containing the localized string representation of the values.

Implements

IPSWorkflowService.ReadProjectProperty(ProjectWorkflowContext, String, Guid)

See Also

Reference

PSWorkflowService Class

PSWorkflowService Members

Microsoft.Office.Project.Server.Workflow Namespace