No, pitch-shifting (as the term is used in effects) changes the pitch by manipulating or resynthesizing the sound one way or another. It’s essentially the same thing as time-stretching; to do it off-line, you could first time-stretch (or contract), and then resample/change the playback speed to get back to the original duration.
I’m pretty sure most advanced samplers these days can do both time-stretching and pitch-shifting, but in most (all?) cases, the standard response to pitch bend is to just vary the sample playback speed. That is, if you bend up an octave, samples play at twice the recorded speed, and duration (or loop length where applicable) will be half of the original.
More sophisticated libraries may actually use pitch-shifting, or some combination of pitch-shifting, resampling, and/or crossfading through the multisamples, but that’s pretty much sample modeling domain. You’ll not find this in a library that isn’t explicitly designed to handle pitch bend, as it’s CPU intensive, and requires various tricks and extra development effort to work well, without significant artifacts.