Edit

Share via


MetadataSerializer.WriteCustomElements<T>(XmlWriter, T) Method

Definition

Extensible point to write custom elements.

protected:
generic <typename T>
 virtual void WriteCustomElements(System::Xml::XmlWriter ^ writer, T source);
protected virtual void WriteCustomElements<T> (System.Xml.XmlWriter writer, T source);
abstract member WriteCustomElements : System.Xml.XmlWriter * 'T -> unit
override this.WriteCustomElements : System.Xml.XmlWriter * 'T -> unit
Protected Overridable Sub WriteCustomElements(Of T) (writer As XmlWriter, source As T)

Type Parameters

T

The type that represents the element that is being written.

Parameters

writer
XmlWriter

The XML writer.

source
T

The source element of type T.

Applies to