다음을 통해 공유


IPSWorkflowService.ReadProjectProperty Method

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

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

Syntax

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

returnValue = instance.ReadProjectProperty(workflowContext, _
    propertyName, mdPropUid)
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 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.

See Also

Reference

IPSWorkflowService Interface

IPSWorkflowService Members

Microsoft.Office.Project.Server.Library Namespace