Novell.Directory.Ldap.LdapExtendedOperation.Clone C# (CSharp) Method

Clone() public method

Returns a clone of this object.
public Clone ( ) : Object
return System.Object
        public System.Object Clone()
        {
            try
            {
                System.Object newObj = base.MemberwiseClone();
            //				Array.Copy((System.Array)SupportClass.ToByteArray( this.vals), 0, (System.Array)SupportClass.ToByteArray( ((LdapExtendedOperation) newObj).vals), 0, this.vals.Length);
                Array.Copy((System.Array)this.vals, 0, (System.Array)((LdapExtendedOperation) newObj).vals, 0, this.vals.Length);
                return newObj;
            }
            catch (System.Exception ce)
            {
                throw new System.SystemException("Internal error, cannot create clone");
            }
        }