MarkLogic XCC/.Net Library |

# ValueFactory.NewXSDuration Method

A convenience method to construct an XSDuration value from an XdmDuration object.

#### Overload List

A convenience method to construct an XSDuration value from an XdmDuration object.

> public static XSDuration NewXSDuration(XdmDuration);

A convenience method to construct an XSDuration value.

> public static XSDuration NewXSDuration(string);

#### See Also

ValueFactory Class | Marklogic.Xcc Namespace