import com.ms.mtx.*; ISharedPropertyGroupManager spgm = null; IEnumVariant myEnum = null; Variant v; int i; // Get the enumerator object and // cast the returned interface to IEnumVariant. myEnum = (IEnumVariant)spgm.get_NewEnum(); // Use the enumerator to iterate through // the property group names. for(i = 0; i < 10; i++){ v = Enum.Next(1); // Do something with the returned // property group names. }