SIFWorks ADK 2.0
EncodeXml Method (str)
NamespacesEdustructures.UtilAdkStringUtilsEncodeXml(String)

[This is preliminary documentation and is subject to change.]

Escapes an XML string by replacing the characters shown below with their equivalent entity references as defined by the XML specification.
Declaration Syntax
C#Visual BasicVisual C++
public static string EncodeXml(
	string str
)
Public Shared Function EncodeXml ( _
	str As String _
) As String
public:
static String^ EncodeXml (
	String^ str
)
Parameters
str (String)
The source string
Return Value
The escaped string
Remarks
CharacterEntity Reference
<&lt;
>&gt;
&&amp;
'&apos;
"&quot;

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10