I'm reading Hartshorne's book and on page 53 he defines intersection multiplicity of a projective variety and a hypersurface:

I'm wondering if we can simplify this definition if we take $Y$ to be a curve and $H$ to be an hyperplane.
Is this possible?
Thanks