XdmWriterSettings.NormalizationForm PropertyXdmWriterSettings.NormalizationForm PropertyXdmWriterSettings::NormalizationForm Property

Gets or sets the normalization form.

Syntax

Public Property NormalizationForm As String
        Get
        Set(ByVal value As String)
public string NormalizationForm { get; set; }
public:
property String^ NormalizationForm {
    String^ get();
    void set(String^ value);
}
 

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionAn attempt is made to set this property to null a null reference (Nothing in Visual Basic) nullptr

Remarks

This property corresponds to the normalization-form serialization parameter.

Specifies the unicode normalization form. All text content in the serialized document will be normalized with this normalization form. This can be set to one of the following (case-insensitive) values:

  • NFC
  • NFD
  • NFKC
  • NFKD
  • fully-normalized
  • none

If this property is not set to a supported value and MethodMethodMethod is not set to CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod then a SESU0011 XdmExceptionXdmExceptionXdmException is thrown when serialization is attempted.

By default the normalization-form parameter is set to none, and no normalization is performed.

This property is ignored when MethodMethodMethod is set to CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod.