SerializationUtilities.WriteDomainModelNamespaces Method

Write out the xml namespaces for domain models in the supplied directory

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Shared Sub WriteDomainModelNamespaces ( _
    directory As DomainXmlSerializerDirectory, _
    writer As XmlWriter, _
    defaultXmlNamespace As String _
)
public static void WriteDomainModelNamespaces(
    DomainXmlSerializerDirectory directory,
    XmlWriter writer,
    string defaultXmlNamespace
)
public:
static void WriteDomainModelNamespaces(
    DomainXmlSerializerDirectory^ directory, 
    XmlWriter^ writer, 
    String^ defaultXmlNamespace
)
static member WriteDomainModelNamespaces : 
        directory:DomainXmlSerializerDirectory * 
        writer:XmlWriter * 
        defaultXmlNamespace:string -> unit
public static function WriteDomainModelNamespaces(
    directory : DomainXmlSerializerDirectory, 
    writer : XmlWriter, 
    defaultXmlNamespace : String
)

Parameters

  • writer
    Type: XmlWriter

    The writer to use

  • defaultXmlNamespace
    Type: String

    The default namespace of the domain model being serialized.

Remarks

The xml namespaces for all of the domain models in the supplied directory except the supplied default namespace are written out to the current XML node.

.NET Framework Security

See Also

Reference

SerializationUtilities Class

Microsoft.VisualStudio.Modeling Namespace