Share via


ProjectPropertyValues.ToCode method

Sets the value that corresponds to the codePropertyValue parameter in the PSWorkflowService methods that take property values as in-parameters.

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

Syntax

'Declaration
Public Shared Function ToCode ( _
    arg As Object _
) As Guid
'Usage
Dim arg As Object
Dim returnValue As Guid

returnValue = ProjectPropertyValues.ToCode(arg)
public static Guid ToCode(
    Object arg
)

Parameters

  • arg
    Type: System.Object

    The value to set; an instance of either System.Guid or the ProjectPropertyValues class.

Return value

Type: System.Guid
A GUID object.

See also

Reference

ProjectPropertyValues class

ProjectPropertyValues members

Microsoft.Office.Project.Server.Library namespace