GetCollectionItemXmlElementName method
Determines the name of the XML element associated with the complexProperty parameter.
The attachment object for which to determine the XML element name with.
Implementation
@override
String GetCollectionItemXmlElementName(Attachment complexProperty) {
if (complexProperty is FileAttachment) {
return XmlElementNames.FileAttachment;
} else if (complexProperty is ReferenceAttachment) {
return XmlElementNames.ReferenceAttachment;
} else {
return XmlElementNames.ItemAttachment;
}
}