예제 #1
0
            // Clone this object.
            public Object Clone()
            {
                AttributeInfo info = (AttributeInfo)(MemberwiseClone());

                if (next != null)
                {
                    info.next = (AttributeInfo)(next.Clone());
                }
                return(info);
            }
예제 #2
0
        // Clone this object.
        public Object Clone()
        {
            ImageAttributes attrs = (ImageAttributes)(MemberwiseClone());

            if (info != null)
            {
                attrs.info = (AttributeInfo)(info.Clone());
            }
            return(attrs);
        }