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
workflowContext
Type: Microsoft.Office.Project.Server.Library.ProjectWorkflowContextInformation that is related to the current instance of the workflow that is being processed.
propertyName
Type: System.StringThe 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.GuidThe 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)