SerializationUtilities.WriteExtensions Method
Write the supplied list of extension elements inside an extensions XML element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
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.SerializationContext
Context associated with the current serialization operation
- writer
Type: System.Xml.XmlWriter
The writer to use when writing the extension data
- extensionElements
Type: System.Collections.Generic.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.