Modify Example from MS

Hi! I found an example on the Microsoft site.

how can I modify it so that this program gives out the coordinates of the points of the tessellation triangles?