共用方式為


SerializationUtilities.WriteDomainModelNamespaces Method

Definition

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

public:
 static void WriteDomainModelNamespaces(Microsoft::VisualStudio::Modeling::DomainXmlSerializerDirectory ^ directory, System::Xml::XmlWriter ^ writer, System::String ^ defaultXmlNamespace);
public static void WriteDomainModelNamespaces (Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectory directory, System.Xml.XmlWriter writer, string defaultXmlNamespace);
static member WriteDomainModelNamespaces : Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectory * System.Xml.XmlWriter * string -> unit
Public Shared Sub WriteDomainModelNamespaces (directory As DomainXmlSerializerDirectory, writer As XmlWriter, defaultXmlNamespace As String)

Parameters

directory
DomainXmlSerializerDirectory

The directory of serializer information

writer
XmlWriter

The writer to use

defaultXmlNamespace
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.

Applies to