A method of making a microstructure includes selectively activating a portion of a surface of a silicon-containing elastomer, contacting the activated portion with a substance, and bonding the activated portion and the substance, such that the activated portion of the surface and the substance in contact with the activated portion are irreversibly attached. The selective activation may be accomplished by positioning a mask on the surface of the silicon-containing elastomer, and irradiating the exposed portion with UV radiation.