Solidworks PDM Pro API Datacard access and display

I am coding in C# and i am having issue figuring out how to interact with the DataCards for the files i am working on. What I want to do is access the variables of a files data card and populate them then open the datacard for the user to fill out missing information and/or make corrections to the info pupulated to it.

Can someone help me with this task.

SolidworksApi macros