System.Xml.Schema.XmlSchemaAnnotated.SetUnhandledAttributes C# (CSharp) Method

SetUnhandledAttributes() private method

private SetUnhandledAttributes ( XmlAttribute moreAttributes ) : void
moreAttributes XmlAttribute
return void
        internal override void SetUnhandledAttributes(XmlAttribute[] moreAttributes) {
            this.moreAttributes = moreAttributes;
        }
        internal override void AddAnnotation(XmlSchemaAnnotation annotation) {

Usage Example

 private void CopyPosition(XmlSchemaAnnotated to, XmlSchemaAnnotated from, bool copyParent) {
     to.SourceUri = from.SourceUri;
     to.LinePosition = from.LinePosition;
     to.LineNumber = from.LineNumber;
     to.SetUnhandledAttributes(from.UnhandledAttributes);
     if (copyParent) {
        to.Parent = from.Parent;
     }
 }