MarkLogic XCC/.Net Library |

# ValueFactory.NewDuration Method

Convenience method to construct an XdmDuration value.

[Visual Basic]
Public Shared Function NewDuration( _
ByVal serializedString As String _
) As XdmDuration
[C#]
public static XdmDuration NewDuration(
string serializedString
);

#### Parameters

serializedString
  A String representation of

#### Return Value

An instance of XdmDuration.

#### See Also

ValueFactory Class | Marklogic.Xcc Namespace