Miley Cyrus: I Wanted to Keep My Sex and the City Dress!

Credit: Marcel Thomas/FilmMagic

For Miley Cyrus, her recent Sex and the City 2 cameo appearance was all about the fashion.

In her scene, Cyrus, 16, wears the same dress as Samantha Jones (Kim Cattrall) at what appeared to be a movie premiere for Samantha's on-and-off beau, Smith Jerrod (Jason Lewis).

Cast members Sarah Jessica Parker (Carrie Bradshaw), Chris Noth (Mr. Big) and Mario Cantone (Anthony Marantino) were also at the shoot, which took place at New York City's Ziegfeld Theater. A marquee revealed the Smith Jerrod movie to be titled Heart of the Dessert.

But while Cyrus indulged her passion for style, at the end of the day she wasn't able to expand her wardrobe, like the show's quartet of fashionistas.

"I didn't get to keep the dress because they need it for Kim," Cyrus tells Extra. "But I got to keep the necklace. The necklace is cool. It's, like, these giant spikes, and I wanted to wear it while I was performing. My mom was like, 'That could be dangerous. ...You can't wear that onstage.'"

A self-proclaimed "huge fan" of the Sex and the City franchise, Cyrus says it was a thrill to meet series star Parker.

"Sarah Jessica Parker is so cute," Cyrus -- currently on tour promoting her single "Party in the U.S.A." -- says. "And the first thing she did was hold someone's coffee so that they could take a picture with me."

See the day's top celeb news photos.

Other stars said to appear in next May's sequel include Penelope Cruz, Tim Gunn and Liza Minnelli.