protected: void WriteXmlElement( XmlWriter^ writer ) override
Parameters
- writer
 The value of this parameter cannot be
null(Nothingin Visual Basic).
            The value of this parameter cannot be null (Nothing in Visual Basic).
protected: void WriteXmlElement( XmlWriter^ writer ) override
The value of this parameter cannot be null (Nothing in Visual Basic).
| Exception | Description | 
|---|---|
| System.ArgumentNullException | 
            A  This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.  | 
| System.InvalidOperationException | A method call was invalid for the object's current state. This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.  |