Share via


SerializationUtilities.WriteExtensions Method

Definition

Write the supplied list of extension elements inside an extensions XML element.

public:
 static void WriteExtensions(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, System::Xml::XmlWriter ^ writer, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ExtensionElement ^> ^ extensionElements);
public static void WriteExtensions (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, System.Xml.XmlWriter writer, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ExtensionElement> extensionElements);
static member WriteExtensions : Microsoft.VisualStudio.Modeling.SerializationContext * System.Xml.XmlWriter * seq<Microsoft.VisualStudio.Modeling.ExtensionElement> -> unit
Public Shared Sub WriteExtensions (serializationContext As SerializationContext, writer As XmlWriter, extensionElements As IEnumerable(Of ExtensionElement))

Parameters

serializationContext
SerializationContext

Context associated with the current serialization operation

writer
XmlWriter

The writer to use when writing the extension data

extensionElements
IEnumerable<ExtensionElement>

The extension elements to be serialized. Can be null.

Applies to