MarkLogic XCC/.Net Library |

# ContentCreateOptions.Locale Property

Document Locale property. The default is null, which indicates that the local default value is to be applied. Note that the server may not support the locale configured as the local client default. In such a case it may be necessary to explicitly set the Locale to a value recognized by the server for content insertion to succeed.

[Visual Basic]
Overridable Public Property Locale As CultureInfo
[C#]
public virtual System.Globalization.CultureInfo Locale {get; set;}

#### See Also

ContentCreateOptions Class | Marklogic.Xcc Namespace