A 14-year-old boy was shot and critically wounded last night as three armed robbers attempted to hold up the National Roller Rink at 1661 Kalorama Rd. NW, D.C. police reported.

A suspect in the incident, identified as a 14-year-old Baltimore boy, was disarmed and taken into custody at the scene by a rink patron armed with a pellet gun, police said.

The suspect was charged with assault with intent to rob while armed and was being held overnight in the juvenile receiving home, police said.

The wounded youth, William E. Boulwane of 224 P St. NW, was undergoing treatment in the intensive care unit of Washington Hospital Center early today for a bullet wound in the abdomen, police said.

Police gave this account of the incident:

Three youths, one armed with a revolver and two with shotguns, entered the rink lobby shortly before 8 p.m. and demanded money from a cashier. At the same time, police said, Boulwane entered the lobby from the rink area on skates, saw the youths and tried to return to the rink.

At least two of the youths opened fire, wounding Boulwane, police said.

The two youths with shotguns fled, but another skater carrying a pellet gun pointed it at the remaining youth and ordered him to surrender. The youth complied and was held until police arrived moments later.

Investigators said they later determined that the revolver had been taken from a security guard Wednesday night during a robbery at a McDonald's restaurant on Bladensburg Road NE where the manager was shot and wounded.