GoDiagram Web Reference
WriteNamespaceAttribute Method

must not be a null string
must not be a null string
Write an "xmlns:prefix" attribute for a namespace given by uri.
Syntax
'Declaration
 
Public Overridable Sub WriteNamespaceAttribute( _
   ByVal prefix As String, _
   ByVal uri As String _
) 
public virtual void WriteNamespaceAttribute( 
   string prefix,
   string uri
)

Parameters

prefix
must not be a null string
uri
must not be a null string
Remarks

Namespaces are normally defined on the root element by calling SetNamespaceUri before calling one of the Generate methods. That will cause this method to be called to add the appropriate xmlns:prefix="uri" attributes to the root element.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoXmlWriter Class
GoXmlWriter Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback