ProjectPropertyValues.ToDateTime method
Sets the value that corresponds to the dateTimePropertyValue 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 ToDateTime ( _
arg As Object _
) As DateTime
'Usage
Dim arg As Object
Dim returnValue As DateTime
returnValue = ProjectPropertyValues.ToDateTime(arg)
public static DateTime ToDateTime(
Object arg
)
Parameters
arg
Type: System.ObjectThe value to set; an instance of either System.DateTime or the ProjectPropertyValues class.
Return value
Type: System.DateTime
A DateTime object.