SerializationUtilities.WriteExtensions Method
Write the supplied list of extension elements inside an extensions XML element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Shared Sub WriteExtensions ( _
serializationContext As SerializationContext, _
writer As XmlWriter, _
extensionElements As IEnumerable(Of ExtensionElement) _
)
public static void WriteExtensions(
SerializationContext serializationContext,
XmlWriter writer,
IEnumerable<ExtensionElement> extensionElements
)
public:
static void WriteExtensions(
SerializationContext^ serializationContext,
XmlWriter^ writer,
IEnumerable<ExtensionElement^>^ extensionElements
)
static member WriteExtensions :
serializationContext:SerializationContext *
writer:XmlWriter *
extensionElements:IEnumerable<ExtensionElement> -> unit
public static function WriteExtensions(
serializationContext : SerializationContext,
writer : XmlWriter,
extensionElements : IEnumerable<ExtensionElement>
)
Parameters
serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContextContext associated with the current serialization operation
writer
Type: XmlWriterThe writer to use when writing the extension data
extensionElements
Type: IEnumerable<ExtensionElement>The extension elements to be serialized. Can be null.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.