SerializationUtilities.WriteDomainModelNamespaces Method
Write out the xml namespaces for domain models in the supplied directory
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.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
- directory
Type: Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectory
The directory of serializer information
- writer
Type: System.Xml.XmlWriter
The writer to use
- defaultXmlNamespace
Type: System.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
- 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.