IsSetValue() private méthode

private IsSetValue ( ) : bool
Résultat bool
Exemple #1
0
        internal static void SerializeTagToXml(XmlWriter xmlWriter, Tag tag)
        {
            xmlWriter.WriteStartElement("Tag", "");

            if (tag.IsSetKey())
            {
                xmlWriter.WriteElementString("Key", "", S3Transforms.ToXmlStringValue(tag.Key));
            }
            if (tag.IsSetValue())
            {
                xmlWriter.WriteElementString("Value", "", S3Transforms.ToXmlStringValue(tag.Value));
            }

            xmlWriter.WriteEndElement();
        }