Microsoft.Xades.DocumentationReferences.GetXml C# (CSharp) Méthode

GetXml() public méthode

Returns the XML representation of the this object
public GetXml ( ) : XmlElement
Résultat System.Xml.XmlElement
		public XmlElement GetXml()
		{
			XmlDocument creationXmlDocument;
			XmlElement retVal;

			creationXmlDocument = new XmlDocument();
			retVal = creationXmlDocument.CreateElement("DocumentationReferences", XadesSignedXml.XadesNamespaceUri);

			if (this.documentationReferenceCollection.Count > 0)
			{
				foreach (DocumentationReference documentationReference in this.documentationReferenceCollection)
				{
					if (documentationReference.HasChanged())
					{
						retVal.AppendChild(creationXmlDocument.ImportNode(documentationReference.GetXml(), true));
					}
				}
			}

			return retVal;
		}
		#endregion