Create a MItMeshVertex using a set of vertex

Hi everybody
I try to query the border vertex of an mesh, then want to create another MItMeshVertex from it, how can i do it?
This constructor from maya docs

MItMeshVertex (const MDagPath &polyObject, MObject &component=MObject::kNullObj, MStatus *ReturnStatus=NULL)

But i not sure about the MObject& component param.
Thanks

Python or C++?

C++ please