How to get these array´s in a datatable?

Hello,

I want to put the custom properties of the active model in a datagridview on my taskpane. I have this code:

  1.      object PropNames = default(object);
  2.      object PropTypes = default(object);
  3.      object PropValues = default(object);
  4.      swApp = (SldWorks)Activator.CreateInstance(Type.GetTypeFromProgID("SldWorks.Application"));
  5.      swModel = swApp.IActiveDoc2;
  6.      swCustProp = swModel.Extension.get_CustomPropertyManager("");
  7.      swCustProp.GetAll(ref PropNames, ref PropTypes, ref PropValues);
  8.      string[] asCustPropName = (string[])PropNames;
  9.      string[] asCustPropType = (string[])PropTypes;
  10.      string[] asCustPropValues = (string[])PropValues;

How can I do that?

SolidworksApi macros