GoDiagram Win Reference
WriteAttrVal(String,Boolean) Method

the attribute name, or null to just convert the value to a string and return it
the value to write
Write an attribute of the name name with a string representation for the value val.
Syntax
'Declaration
 
Public Overloads Function WriteAttrVal( _
   ByVal name As String, _
   ByVal val As Boolean _
) As String
public string WriteAttrVal( 
   string name,
   bool val
)

Parameters

name
the attribute name, or null to just convert the value to a string and return it
val
the value to write

Return Value

the value converted to a string
Remarks

This converts the object reference to a string and then writes the attribute by calling GoXmlWriter.GoXmlWriter.WriteAttrVal.

You can use this method to just convert a value to a string by passing null as the attribute name. You can convert a string back to a value by calling BooleanFromString.

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

GoXmlTransformer Class
GoXmlTransformer Members
Overload List

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback