WriteAttributeString method
void
WriteAttributeString(
- String localName,
- String? stringValue
)
Writes the attribute value.
The local name of the attribute.
The String value.
Implementation
void WriteAttributeString(String localName, String? stringValue) {
try {
this._xmlWriter!.WriteAttributeStringJust(localName, stringValue);
} on ArgumentException catch (ex, stacktrace) {
// XmlTextWriter will throw ArgumentException if String includes invalid characters.
throw new ServiceXmlSerializationException(
"InvalidAttributeValue($stringValue, $localName)", ex, stacktrace);
}
}