AODL.Document.Content.Text.XLink.Clone C# (CSharp) Method

Clone() public method

Create a deep clone of this XLink object.
A possible Attached Style wouldn't be cloned!
public Clone ( ) : object
return object
		public object Clone()
		{
			XLink xLinkClone			= null;

			if (this.Document != null && this.Node != null)
			{
				TextContentProcessor tcp	= new TextContentProcessor();
				xLinkClone					= tcp.CreateXLink(this.Document, this.Node.CloneNode(true));
			}

			return xLinkClone;
		}