NDoc 1.3.1 SDK |

# BaseDocumenterConfig.Write Method

Writes the current state of the config to the specified XmlWriter.

    [Visual Basic]
    Public Sub Write( _
       ByVal writer As XmlWriter _
    ) _
        Implements IDocumenterConfig.Write
    [C#]
    public void Write(
       XmlWriter writer
    );
    [C++]
    public: void Write(
       XmlWriter* writer
    );
    [JScript]
    public function Write(
       XmlWriter writer
    );

#### Parameters

writer
  An open XmlWriter.

#### Implements

IDocumenterConfig.Write

#### Remarks

This method uses reflection to serialize the public properties in the config.

A property will not be persisted if,

- The value is equal to the default value, or
- The string representation of the value is an empty string, or
- The property has a Browsable(false) attribute, or
- The property has a NonPersisted attribute.

#### See Also

BaseDocumenterConfig Class | NDoc.Core Namespace