SerializationUtilities.WriteDomainModelNamespaces 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 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.