XmlQueryOutput.WriteNamespaceDeclaration Method (String, String)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Checks the namespace declaration for well-formedness and writes the namespace declaration.

Namespace:   System.Xml.Xsl.Runtime
Assembly:  System.Data.SqlXml (in System.Data.SqlXml.dll)

public void WriteNamespaceDeclaration(
	string prefix,
	string ns
)

Parameters

prefix
Type: System.String

String that contains namespace prefix.

ns
Type: System.String

String that contains namespace name.

.NET Framework
Available since 2.0
Return to top
Show: