The NMS Class Library (.Net Messaging Library)

ActiveMQDestination.Transform Method 

public static ActiveMQDestination Transform(
   IDestination destination
);

See Also

ActiveMQDestination Class | ActiveMQ.Commands Namespace