SolidWorks PDM RunTask API

I was facing the Error in RunTask in TaskMgr Particularly Selection, 

 private void button3_Click(object sender, EventArgs e)
        {
            EdmSelItem2[] selection = new EdmSelItem2[files.Count];
            IEdmPos5 pos = files.GetHeadPosition();
            int counter = 0;
            while(!pos.IsNull)
            {
                IEdmFolder5 parentFolder = null;
                IEdmFile5 file = vault19.GetFileFromPath(files.GetNext(pos), out parentFolder);
                selection[counter].mlID = file.ID;
                selection[counter].mlParentID = parentFolder.ID;
                selection[counter].mlVersion = file.CurrentVersion;
                selection[counter].meType = EdmObjectType.EdmObject_File;
            }
            TaskMgr.RunTask(((CustomComboType)comboBox2.SelectedItem).TaskInfo, selectionthis.Handle.ToInt32());
        }

I need Clarification in 

               selection[counter].mlID = file.ID;
                selection[counter].mlParentID = parentFolder.ID;

There is No VB.Net Examples in Help

Help - 2019 SOLIDWORKS API Help - Get and Run a Task Add-in Example (C#) 

SolidworksApi/macros