GoDiagram Win Reference
WriteAttrVal Method (GoXmlWriter)

the attribute name; if null, no attribute is written. If you call SetNamespaceUri, typically before calling a Generate method, you can also include a prefix in this name, in the format "prefix:localname".
the value to write; if null, no attribute is written
Write an attribute of the name name with a string representation for the value val.
Syntax
'Declaration
 
Public Overridable Function WriteAttrVal( _
   ByVal name As String, _
   ByVal val As String _
) As String
public virtual string WriteAttrVal( 
   string name,
   string val
)

Parameters

name
the attribute name; if null, no attribute is written. If you call SetNamespaceUri, typically before calling a Generate method, you can also include a prefix in this name, in the format "prefix:localname".
val
the value to write; if null, no attribute is written

Return Value

Remarks
This method will write to the XmlWriter if it is available, or else it will set the attribute of the WriterElement.
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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback