OrderType: A beginner's question

 
If an order gets sent through the OrderSend function as OP_BUYLIMIT, does it maintain that order type (i.e., 2) AFTER the entry price is reached and the order is entered?  Or does the type then become 0, since it's no longer a buy limit pending order?
 
Changes to OP_BUY or OP_SELL.
 
William Roeder #:
Changes to OP_BUY or OP_SELL.

Thanks!