SerializationUtilities.WriteExtensions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.