XmlSerializationWriterWriteNullableStringLiteral Method |
Writes an XML element that contains a string as the body. System.Xml.XmlWriter
inserts an xsi:nil='true' attribute if the string's value is null.
Namespace: System.Xml.SerializationAssembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax protected void WriteNullableStringLiteral(
string name,
string ns,
string value
)
Parameters
- name
- Type: SystemString
The local name of the XML element to write. - ns
- Type: SystemString
The namespace of the XML element to write. - value
- Type: SystemString
The string to write in the body of the XML element.
See Also