IObjectControl.Activate Method Example

import com.ms.mtx.*;

void Activate()
{
    // Get a reference to the object's context here,
    // so it can be used by any method that may be 
    // called during this activation of the object.
    m_ObjectContext = MTx.GetObjectContext()
}