Holomorphic sections of line bundles vanishing along subvarieties