Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Closes the named element. If the element contains no content, this method writes a short end tag ("/>"). Otherwise, this method writes the full end tag.
Syntax
HRESULT WriteEndElement (
const WCHAR * pwszQName,
UINT cwszQName);
Arguments
pwszQName
The qualified name of the element to close. NULL causes an error.
cwszQName
The length of the element name in wide-character units.
Return Value
Returns S_OK if no error is generated.
Remarks
For a complete code example that uses WriteEndElement, see Universal Windows Platform (UWP) XmlLite sample.
Requirements
Header: XmlLite.h
Library: XmlLite.lib